Struct shakmaty::variant::ParseVariantError
source · pub struct ParseVariantError;
Available on crate feature
variant
only.Expand description
Error when parsing an unknown variant name.
Trait Implementations§
source§impl Clone for ParseVariantError
impl Clone for ParseVariantError
source§fn clone(&self) -> ParseVariantError
fn clone(&self) -> ParseVariantError
Returns a copy 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 ParseVariantError
impl Debug for ParseVariantError
source§impl Display for ParseVariantError
impl Display for ParseVariantError
source§impl Error for ParseVariantError
Available on crate feature std
only.
impl Error for ParseVariantError
Available on crate feature
std
only.1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 ParseVariantError
impl RefUnwindSafe for ParseVariantError
impl Send for ParseVariantError
impl Sync for ParseVariantError
impl Unpin for ParseVariantError
impl UnwindSafe for ParseVariantError
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