pub struct Chess960SPIDError {
pub spid: u16,
}Expand description
An error that occurs when an invalid Chess960 Starting Position ID is encountered
Fields§
§spid: u16The Chess960 ID that caused the error
Implementations§
Trait Implementations§
Source§impl Debug for Chess960SPIDError
impl Debug for Chess960SPIDError
Source§impl Display for Chess960SPIDError
impl Display for Chess960SPIDError
Source§impl Error for Chess960SPIDError
impl Error for Chess960SPIDError
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 Chess960SPIDError
impl PartialEq for Chess960SPIDError
impl StructuralPartialEq for Chess960SPIDError
Auto Trait Implementations§
impl Freeze for Chess960SPIDError
impl RefUnwindSafe for Chess960SPIDError
impl Send for Chess960SPIDError
impl Sync for Chess960SPIDError
impl Unpin for Chess960SPIDError
impl UnsafeUnpin for Chess960SPIDError
impl UnwindSafe for Chess960SPIDError
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