Struct wasmi::nan_preserving_float::F32 [−][src]
Implementations
impl F32
[src]
pub fn from_bits(other: u32) -> Self
[src]
pub fn to_bits(self) -> u32
[src]
pub fn from_float(fl: f32) -> Self
[src]
pub fn to_float(self) -> f32
[src]
pub fn is_nan(self) -> bool
[src]
pub fn abs(self) -> Self
[src]
pub fn fract(self) -> Self
[src]
pub fn min(self, other: Self) -> Self
[src]
pub fn max(self, other: Self) -> Self
[src]
Trait Implementations
impl<T: Into<F32>> Add<T> for F32
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: T) -> Self
[src]
impl Clone for F32
[src]
impl Copy for F32
[src]
impl Debug for F32
[src]
impl<T: Into<F32>> Div<T> for F32
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: T) -> Self
[src]
impl From<F32> for RuntimeValue
[src]
impl From<f32> for F32
[src]
impl From<u32> for F32
[src]
impl FromRuntimeValue for F32
[src]
fn from_runtime_value(val: RuntimeValue) -> Option<Self>
[src]
impl LittleEndianConvert for F32
[src]
fn into_little_endian(self, buffer: &mut [u8])
[src]
fn from_little_endian(buffer: &[u8]) -> Result<Self, Error>
[src]
impl<T: Into<F32>> Mul<T> for F32
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: T) -> Self
[src]
impl Neg for F32
[src]
impl<T: Into<F32> + Copy> PartialEq<T> for F32
[src]
impl<T: Into<F32> + Copy> PartialOrd<T> for F32
[src]
fn partial_cmp(&self, other: &T) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: Into<F32>> Rem<T> for F32
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, other: T) -> Self
[src]
impl<T: Into<F32>> Sub<T> for F32
[src]
Auto Trait Implementations
impl RefUnwindSafe for F32
impl Send for F32
impl Sync for F32
impl Unpin for F32
impl UnwindSafe for F32
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,