pub struct FloatIsNan;
Expand description
An error indicating an attempt to construct NotNan from a NaN
Trait Implementations§
Source§impl Clone for FloatIsNan
impl Clone for FloatIsNan
Source§fn clone(&self) -> FloatIsNan
fn clone(&self) -> FloatIsNan
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 FloatIsNan
impl Debug for FloatIsNan
Source§impl Display for FloatIsNan
impl Display for FloatIsNan
Source§impl Error for FloatIsNan
impl Error for FloatIsNan
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl From<FloatIsNan> for Error
impl From<FloatIsNan> for Error
Source§fn from(e: FloatIsNan) -> Error
fn from(e: FloatIsNan) -> Error
Converts to this type from the input type.
Source§impl PartialEq for FloatIsNan
impl PartialEq for FloatIsNan
impl Copy for FloatIsNan
impl Eq for FloatIsNan
impl StructuralPartialEq for FloatIsNan
Auto Trait Implementations§
impl Freeze for FloatIsNan
impl RefUnwindSafe for FloatIsNan
impl Send for FloatIsNan
impl Sync for FloatIsNan
impl Unpin for FloatIsNan
impl UnwindSafe for FloatIsNan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)