pub struct InvalidMovement;Expand description
Error returned when the parser tries to access an invalid movement. This will likely be an issue in the configuration passed to nightrunner_lib when initializing the parser.
Trait Implementations§
Source§impl Clone for InvalidMovement
impl Clone for InvalidMovement
Source§fn clone(&self) -> InvalidMovement
fn clone(&self) -> InvalidMovement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidMovement
impl Debug for InvalidMovement
Source§impl Display for InvalidMovement
impl Display for InvalidMovement
Source§impl Error for InvalidMovement
impl Error for InvalidMovement
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()
Auto Trait Implementations§
impl Freeze for InvalidMovement
impl RefUnwindSafe for InvalidMovement
impl Send for InvalidMovement
impl Sync for InvalidMovement
impl Unpin for InvalidMovement
impl UnwindSafe for InvalidMovement
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