Enum ordered_float::ParseNotNanError [−][src]
pub enum ParseNotNanError<E> { ParseFloatError(E), IsNaN, }
Expand description
An error indicating a parse error from a string for NotNan
.
Variants
A plain parse error from the underlying float type.
The parsed float value resulted in a NaN.
Trait Implementations
impl<E: Clone> Clone for ParseNotNanError<E>
[src]
impl<E: Clone> Clone for ParseNotNanError<E>
[src]fn clone(&self) -> ParseNotNanError<E>
[src]
fn clone(&self) -> ParseNotNanError<E>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<E: Debug> Debug for ParseNotNanError<E>
[src]
impl<E: Debug> Debug for ParseNotNanError<E>
[src]impl<E: Display> Display for ParseNotNanError<E>
[src]
impl<E: Display> Display for ParseNotNanError<E>
[src]impl<E: Debug + Error + 'static> Error for ParseNotNanError<E>
[src]
impl<E: Debug + Error + 'static> Error for ParseNotNanError<E>
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
impl<E: PartialEq> PartialEq<ParseNotNanError<E>> for ParseNotNanError<E>
[src]
impl<E: PartialEq> PartialEq<ParseNotNanError<E>> for ParseNotNanError<E>
[src]fn eq(&self, other: &ParseNotNanError<E>) -> bool
[src]
fn eq(&self, other: &ParseNotNanError<E>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ParseNotNanError<E>) -> bool
[src]
fn ne(&self, other: &ParseNotNanError<E>) -> bool
[src]This method tests for !=
.
impl<E: Copy> Copy for ParseNotNanError<E>
[src]
impl<E: Eq> Eq for ParseNotNanError<E>
[src]
impl<E> StructuralEq for ParseNotNanError<E>
[src]
impl<E> StructuralPartialEq for ParseNotNanError<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for ParseNotNanError<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for ParseNotNanError<E> where
E: Send,
E: Send,
impl<E> Sync for ParseNotNanError<E> where
E: Sync,
E: Sync,
impl<E> Unpin for ParseNotNanError<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for ParseNotNanError<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,