pub enum Float<F>where
F: FloatPolicy,{
F32(F::F32),
F64(F::F64),
}
Expand description
An opaque float derived from a given policy.
Variants§
Trait Implementations§
Source§impl<F> Ord for Float<F>
impl<F> Ord for Float<F>
Source§impl<F> PartialOrd for Float<F>
impl<F> PartialOrd for Float<F>
impl<F> Eq for Float<F>
impl<F> StructuralPartialEq for Float<F>where
F: FloatPolicy,
Auto Trait Implementations§
impl<F> Freeze for Float<F>
impl<F> RefUnwindSafe for Float<F>
impl<F> Send for Float<F>
impl<F> Sync for Float<F>
impl<F> Unpin for Float<F>
impl<F> UnwindSafe for Float<F>
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