pub struct NoSuchPoint(pub usize);Expand description
Why a rewind was refused: there is no earlier point n (it must be
below the number of commands). Nothing changed.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for NoSuchPoint
impl Clone for NoSuchPoint
Source§fn clone(&self) -> NoSuchPoint
fn clone(&self) -> NoSuchPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoSuchPoint
Source§impl Debug for NoSuchPoint
impl Debug for NoSuchPoint
Source§impl Display for NoSuchPoint
impl Display for NoSuchPoint
impl Eq for NoSuchPoint
Source§impl Error for NoSuchPoint
impl Error for NoSuchPoint
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NoSuchPoint
impl PartialEq for NoSuchPoint
impl StructuralPartialEq for NoSuchPoint
Auto Trait Implementations§
impl Freeze for NoSuchPoint
impl RefUnwindSafe for NoSuchPoint
impl Send for NoSuchPoint
impl Sync for NoSuchPoint
impl Unpin for NoSuchPoint
impl UnsafeUnpin for NoSuchPoint
impl UnwindSafe for NoSuchPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more