pub struct F32(/* private fields */);Implementations§
Source§impl F32
impl F32
pub fn from_bits(other: u32) -> Self
pub fn to_bits(self) -> u32
pub fn from_float(fl: f32) -> Self
pub fn to_float(self) -> f32
pub fn is_nan(self) -> bool
pub fn abs(self) -> Self
pub fn fract(self) -> Self
pub fn min(self, other: Self) -> Self
pub fn max(self, other: Self) -> Self
Trait Implementations§
Source§impl<T: Into<F32> + Copy> PartialOrd<T> for F32
impl<T: Into<F32> + Copy> PartialOrd<T> for F32
impl Copy for F32
Auto Trait Implementations§
impl Freeze for F32
impl RefUnwindSafe for F32
impl Send for F32
impl Sync for F32
impl Unpin for F32
impl UnwindSafe for F32
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