pub enum ParseNumberError<'l, N: Number> {
Empty(PhantomData<N>),
Invalid(&'l str),
}
Variants§
Empty(PhantomData<N>)
Invalid(&'l str)
Trait Implementations§
source§impl<'l, N: Clone + Number> Clone for ParseNumberError<'l, N>
impl<'l, N: Clone + Number> Clone for ParseNumberError<'l, N>
source§fn clone(&self) -> ParseNumberError<'l, N>
fn clone(&self) -> ParseNumberError<'l, N>
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<N: Number> Display for ParseNumberError<'_, N>
impl<N: Number> Display for ParseNumberError<'_, N>
source§impl<'l, N: PartialEq + Number> PartialEq<ParseNumberError<'l, N>> for ParseNumberError<'l, N>
impl<'l, N: PartialEq + Number> PartialEq<ParseNumberError<'l, N>> for ParseNumberError<'l, N>
source§fn eq(&self, other: &ParseNumberError<'l, N>) -> bool
fn eq(&self, other: &ParseNumberError<'l, N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'l, N: Copy + Number> Copy for ParseNumberError<'l, N>
impl<'l, N: Eq + Number> Eq for ParseNumberError<'l, N>
impl<'l, N: Number> StructuralEq for ParseNumberError<'l, N>
impl<'l, N: Number> StructuralPartialEq for ParseNumberError<'l, N>
Auto Trait Implementations§
impl<'l, N> RefUnwindSafe for ParseNumberError<'l, N>where
N: RefUnwindSafe,
impl<'l, N> Send for ParseNumberError<'l, N>where
N: Send,
impl<'l, N> Sync for ParseNumberError<'l, N>where
N: Sync,
impl<'l, N> Unpin for ParseNumberError<'l, N>where
N: Unpin,
impl<'l, N> UnwindSafe for ParseNumberError<'l, N>where
N: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.