Struct kanjidic_types::TryFromPrimitiveError
source · [−]pub struct TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,{
pub number: <Enum as TryFromPrimitive>::Primitive,
}
Fields
number: <Enum as TryFromPrimitive>::Primitive
Trait Implementations
sourceimpl<Enum> Clone for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
impl<Enum> Clone for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
sourcefn clone(&self) -> TryFromPrimitiveError<Enum>
fn clone(&self) -> TryFromPrimitiveError<Enum>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<Enum> Debug for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
impl<Enum> Debug for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
sourceimpl<Enum> Display for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
impl<Enum> Display for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
sourceimpl<Enum> Error for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
impl<Enum> Error for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<TryFromPrimitiveError<ExtremeBottom>> for DeRooParseError
impl From<TryFromPrimitiveError<ExtremeBottom>> for DeRooParseError
sourcefn from(source: TryFromPrimitiveError<ExtremeBottom>) -> Self
fn from(source: TryFromPrimitiveError<ExtremeBottom>) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromPrimitiveError<ExtremeTop>> for DeRooParseError
impl From<TryFromPrimitiveError<ExtremeTop>> for DeRooParseError
sourcefn from(source: TryFromPrimitiveError<ExtremeTop>) -> Self
fn from(source: TryFromPrimitiveError<ExtremeTop>) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromPrimitiveError<SolidSubpattern>> for SkipParseError
impl From<TryFromPrimitiveError<SolidSubpattern>> for SkipParseError
sourcefn from(source: TryFromPrimitiveError<SolidSubpattern>) -> Self
fn from(source: TryFromPrimitiveError<SolidSubpattern>) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromPrimitiveError<Stroke>> for FourCornerParseError
impl From<TryFromPrimitiveError<Stroke>> for FourCornerParseError
sourcefn from(source: TryFromPrimitiveError<Stroke>) -> Self
fn from(source: TryFromPrimitiveError<Stroke>) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromPrimitiveError<Tone>> for PinYinParseError
impl From<TryFromPrimitiveError<Tone>> for PinYinParseError
sourcefn from(source: TryFromPrimitiveError<Tone>) -> Self
fn from(source: TryFromPrimitiveError<Tone>) -> Self
Converts to this type from the input type.
sourceimpl<Enum> PartialEq<TryFromPrimitiveError<Enum>> for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
impl<Enum> PartialEq<TryFromPrimitiveError<Enum>> for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
sourcefn eq(&self, other: &TryFromPrimitiveError<Enum>) -> bool
fn eq(&self, other: &TryFromPrimitiveError<Enum>) -> bool
impl<Enum> Copy for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
impl<Enum> Eq for TryFromPrimitiveError<Enum>where
Enum: TryFromPrimitive,
Auto Trait Implementations
impl<Enum> RefUnwindSafe for TryFromPrimitiveError<Enum>where
<Enum as TryFromPrimitive>::Primitive: RefUnwindSafe,
impl<Enum> Send for TryFromPrimitiveError<Enum>where
<Enum as TryFromPrimitive>::Primitive: Send,
impl<Enum> Sync for TryFromPrimitiveError<Enum>where
<Enum as TryFromPrimitive>::Primitive: Sync,
impl<Enum> Unpin for TryFromPrimitiveError<Enum>where
<Enum as TryFromPrimitive>::Primitive: Unpin,
impl<Enum> UnwindSafe for TryFromPrimitiveError<Enum>where
<Enum as TryFromPrimitive>::Primitive: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more