pub struct PositionOutOfRangeError {
pub col: u8,
pub row: u8,
}Expand description
Error indicating that a Position is out of the allowed range
Fields§
§col: u8The column index that is out of range
row: u8The row index that is out of range
Implementations§
Trait Implementations§
Source§impl Debug for PositionOutOfRangeError
impl Debug for PositionOutOfRangeError
Source§impl Display for PositionOutOfRangeError
impl Display for PositionOutOfRangeError
Source§impl Error for PositionOutOfRangeError
impl Error for PositionOutOfRangeError
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 PositionOutOfRangeError
impl PartialEq for PositionOutOfRangeError
impl StructuralPartialEq for PositionOutOfRangeError
Auto Trait Implementations§
impl Freeze for PositionOutOfRangeError
impl RefUnwindSafe for PositionOutOfRangeError
impl Send for PositionOutOfRangeError
impl Sync for PositionOutOfRangeError
impl Unpin for PositionOutOfRangeError
impl UnsafeUnpin for PositionOutOfRangeError
impl UnwindSafe for PositionOutOfRangeError
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