Trait concrete_core::math::torus::IntoTorus [−][src]
A trait that converts a torus element in unsigned integer representation to the closest torus element in floating point representation.
Required methods
fn into_torus(self) -> F
[src]
Consumes self
and returns its closest floating point representation.
Implementations on Foreign Types
impl<F> IntoTorus<F> for u8 where
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
[src]
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
fn into_torus(self) -> F
[src]
impl<F> IntoTorus<F> for u16 where
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
[src]
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
fn into_torus(self) -> F
[src]
impl<F> IntoTorus<F> for u32 where
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
[src]
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
fn into_torus(self) -> F
[src]
impl<F> IntoTorus<F> for u64 where
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
[src]
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
fn into_torus(self) -> F
[src]
impl<F> IntoTorus<F> for u128 where
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,
[src]
F: FloatingPoint + CastInto<Self>,
Self: CastInto<F>,