pub struct F32(pub f32);
Tuple Fields§
§0: f32
Implementations§
source§impl F32
impl F32
pub fn abs(&self) -> Self
pub fn neg(&self) -> Self
pub fn ceil(&self) -> Self
pub fn floor(&self) -> Self
pub fn trunc(&self) -> Self
pub fn nearest(&self) -> Self
pub fn round(&self) -> Self
pub fn sqrt(&self) -> Self
pub fn min(&self, rhs: Self) -> Self
pub fn max(&self, rhs: Self) -> Self
pub fn copysign(&self, rhs: Self) -> Self
pub fn from_bits(other: u32) -> Self
pub fn is_nan(&self) -> bool
pub fn is_infinity(&self) -> bool
pub fn is_negative_infinity(&self) -> bool
pub fn as_i32(&self) -> i32
pub fn as_u32(&self) -> u32
pub fn as_i64(&self) -> i64
pub fn as_u64(&self) -> u64
pub fn as_f32(&self) -> F64
pub fn reinterpret_as_i32(&self) -> i32
pub fn to_bits(&self) -> u32
Trait Implementations§
source§impl InteropValue for F32
impl InteropValue for F32
source§impl PartialOrd for F32
impl PartialOrd 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
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
)