pub struct Float<T: Sized> { /* private fields */ }
Expand description
Float struct that handles f32 and f64
Implementations§
Trait Implementations§
Source§impl Append<Float<f32>> for List
impl Append<Float<f32>> for List
Source§fn append_back(&mut self, _float: Float<f32>) -> &mut Self
fn append_back(&mut self, _float: Float<f32>) -> &mut Self
Performs append
Source§impl Append<Float<f64>> for List
impl Append<Float<f64>> for List
Source§fn append_back(&mut self, _float: Float<f64>) -> &mut Self
fn append_back(&mut self, _float: Float<f64>) -> &mut Self
Performs append
Source§impl<T> Display for Float<T>
T cannot be formatted with the default formatter
thats why there are implementations for every float possible
impl<T> Display for Float<T>
T cannot be formatted with the default formatter thats why there are implementations for every float possible
impl<T: Copy + Sized> Copy for Float<T>
Auto Trait Implementations§
impl<T> Freeze for Float<T>where
T: Freeze,
impl<T> RefUnwindSafe for Float<T>where
T: RefUnwindSafe,
impl<T> Send for Float<T>where
T: Send,
impl<T> Sync for Float<T>where
T: Sync,
impl<T> Unpin for Float<T>where
T: Unpin,
impl<T> UnwindSafe for Float<T>where
T: UnwindSafe,
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