[][src]Struct tract_linalg::f16::f16

pub struct f16(pub f16);

Trait Implementations

impl From<f32> for f16[src]

impl Default for f16[src]

impl Copy for f16[src]

impl Clone for f16[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<f16> for f16[src]

impl PartialOrd<f16> for f16[src]

impl Debug for f16[src]

impl Display for f16[src]

impl FromStr for f16[src]

type Err = ParseFloatError

The associated error which can be returned from parsing.

impl Add<f16> for f16[src]

type Output = f16

The resulting type after applying the + operator.

impl Sub<f16> for f16[src]

type Output = f16

The resulting type after applying the - operator.

impl Mul<f16> for f16[src]

type Output = f16

The resulting type after applying the * operator.

impl Div<f16> for f16[src]

type Output = f16

The resulting type after applying the / operator.

impl Rem<f16> for f16[src]

type Output = f16

The resulting type after applying the % operator.

impl Neg for f16[src]

type Output = f16

The resulting type after applying the - operator.

impl Sum<f16> for f16[src]

impl<'a> Sum<&'a f16> for f16[src]

impl Bounded for f16[src]

impl ToPrimitive for f16[src]

fn to_isize(&self) -> Option<isize>[src]

Converts the value of self to an isize.

fn to_i8(&self) -> Option<i8>[src]

Converts the value of self to an i8.

fn to_i16(&self) -> Option<i16>[src]

Converts the value of self to an i16.

fn to_i32(&self) -> Option<i32>[src]

Converts the value of self to an i32.

fn to_i128(&self) -> Option<i128>[src]

Converts the value of self to an i128. Read more

fn to_usize(&self) -> Option<usize>[src]

Converts the value of self to a usize.

fn to_u8(&self) -> Option<u8>[src]

Converts the value of self to an u8.

fn to_u16(&self) -> Option<u16>[src]

Converts the value of self to an u16.

fn to_u32(&self) -> Option<u32>[src]

Converts the value of self to an u32.

fn to_u128(&self) -> Option<u128>[src]

Converts the value of self to an u128. Read more

fn to_f32(&self) -> Option<f32>[src]

Converts the value of self to an f32.

fn to_f64(&self) -> Option<f64>[src]

Converts the value of self to an f64.

impl NumCast for f16[src]

impl AsPrimitive<usize> for f16[src]

impl AsPrimitive<f32> for f16[src]

impl AsPrimitive<f16> for f32[src]

impl AsPrimitive<f64> for f16[src]

impl AsPrimitive<f16> for f64[src]

impl AsPrimitive<f16> for usize[src]

impl Float for f16[src]

fn epsilon() -> Self[src]

Returns epsilon, a small positive value. Read more

fn to_degrees(self) -> Self[src]

Converts radians to degrees. Read more

fn to_radians(self) -> Self[src]

Converts degrees to radians. Read more

impl Num for f16[src]

type FromStrRadixErr = <f32 as Num>::FromStrRadixErr

impl Zero for f16[src]

impl One for f16[src]

fn is_one(&self) -> bool where
    Self: PartialEq<Self>, 
[src]

Returns true if self is equal to the multiplicative identity. Read more

Auto Trait Implementations

impl Send for f16

impl Sync for f16

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Clone for T where
    T: Clone
[src]

impl<T> Real for T where
    T: Float
[src]

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]