pub enum NeverFloat {}
Expand description
An uninhabitable type for float policies that cannot produce a value of the corresponding type. This is used by RejectFloatPolicy.
Trait Implementations§
Source§impl Clone for NeverFloat
impl Clone for NeverFloat
Source§fn clone(&self) -> NeverFloat
fn clone(&self) -> NeverFloat
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 NeverFloat
impl Debug for NeverFloat
Source§impl FloatRepr<f32> for NeverFloat
impl FloatRepr<f32> for NeverFloat
Source§impl FloatRepr<f64> for NeverFloat
impl FloatRepr<f64> for NeverFloat
Source§impl Hash for NeverFloat
impl Hash for NeverFloat
Source§impl Ord for NeverFloat
impl Ord for NeverFloat
Source§fn cmp(&self, other: &NeverFloat) -> Ordering
fn cmp(&self, other: &NeverFloat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NeverFloat
impl PartialEq for NeverFloat
Source§impl PartialOrd for NeverFloat
impl PartialOrd for NeverFloat
Source§impl Serialize for NeverFloat
impl Serialize for NeverFloat
impl Copy for NeverFloat
impl Eq for NeverFloat
impl StructuralPartialEq for NeverFloat
Auto Trait Implementations§
impl Freeze for NeverFloat
impl RefUnwindSafe for NeverFloat
impl Send for NeverFloat
impl Sync for NeverFloat
impl Unpin for NeverFloat
impl UnwindSafe for NeverFloat
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