pub struct PieceReprError {
pub piece_repr: char,
}Expand description
An error that occurs when an invalid piece representation is encountered
Fields§
§piece_repr: charThe piece character that caused the error
Implementations§
Trait Implementations§
Source§impl Debug for PieceReprError
impl Debug for PieceReprError
Source§impl Display for PieceReprError
impl Display for PieceReprError
Source§impl Error for PieceReprError
impl Error for PieceReprError
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 PieceReprError
impl PartialEq for PieceReprError
impl StructuralPartialEq for PieceReprError
Auto Trait Implementations§
impl Freeze for PieceReprError
impl RefUnwindSafe for PieceReprError
impl Send for PieceReprError
impl Sync for PieceReprError
impl Unpin for PieceReprError
impl UnsafeUnpin for PieceReprError
impl UnwindSafe for PieceReprError
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