[][src]Struct uno::Unorm64

#[repr(transparent)]pub struct Unorm64(_);

Implementations

impl Unorm64[src]

pub const fn from_inner(inner: u64) -> Self[src]

pub const fn zero() -> Self[src]

pub const fn one() -> Self[src]

pub const fn min_value() -> Self[src]

pub const fn max_value() -> Self[src]

pub const fn epsilon() -> Self[src]

pub fn from_denominator(denominator: u64) -> Self[src]

pub fn try_from_float<F: Float>(f: F) -> Result<Self, FloatToUnormError<F>>[src]

pub fn from_float<F: Float>(f: F) -> Self[src]

pub fn from_float_clamped<F: Float>(f: F) -> Self[src]

pub const fn to_inner(self) -> u64[src]

pub fn to_float<F: Float>(self) -> F[src]

pub fn saturating_add(self, other: Self) -> Self[src]

pub fn saturating_mul(self, other: Self) -> Self[src]

pub fn saturating_pow(self, other: u32) -> Self[src]

pub fn saturating_sub(self, other: Self) -> Self[src]

pub fn wrapping_add(self, other: Self) -> Self[src]

pub fn wrapping_div(self, other: Self) -> Self[src]

pub fn wrapping_mul(self, other: Self) -> Self[src]

pub fn wrapping_neg(self) -> Self[src]

pub fn wrapping_pow(self, other: u32) -> Self[src]

pub fn wrapping_rem(self, other: Self) -> Self[src]

pub fn wrapping_shl(self, other: u32) -> Self[src]

pub fn wrapping_shr(self, other: u32) -> Self[src]

pub fn wrapping_sub(self, other: Self) -> Self[src]

Trait Implementations

impl<'_> Add<&'_ Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the + operator.

impl<'_> AddAssign<&'_ Unorm64> for Unorm64[src]

impl AddAssign<Unorm64> for Unorm64[src]

impl Bounded for Unorm64[src]

impl Clone for Unorm64[src]

impl Copy for Unorm64[src]

impl Debug for Unorm64[src]

impl Default for Unorm64[src]

impl Display for Unorm64[src]

impl<'_> Div<&'_ Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the / operator.

impl Div<Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the / operator.

impl<'_> DivAssign<&'_ Unorm64> for Unorm64[src]

impl DivAssign<Unorm64> for Unorm64[src]

impl Eq for Unorm64[src]

impl From<Unorm16> for Unorm64[src]

impl From<Unorm32> for Unorm64[src]

impl From<Unorm8> for Unorm64[src]

impl From<u64> for Unorm64[src]

impl Hash for Unorm64[src]

impl Into<u64> for Unorm64[src]

impl<'_> Mul<&'_ Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the * operator.

impl<'_> MulAssign<&'_ Unorm64> for Unorm64[src]

impl MulAssign<Unorm64> for Unorm64[src]

impl Num for Unorm64[src]

type FromStrRadixErr = <u64 as Num>::FromStrRadixErr

impl NumCast for Unorm64[src]

impl One for Unorm64[src]

impl Ord for Unorm64[src]

impl PartialEq<Unorm64> for Unorm64[src]

impl PartialOrd<Unorm64> for Unorm64[src]

impl<'_> Rem<&'_ Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the % operator.

impl Rem<Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the % operator.

impl<'_> RemAssign<&'_ Unorm64> for Unorm64[src]

impl RemAssign<Unorm64> for Unorm64[src]

impl StructuralEq for Unorm64[src]

impl StructuralPartialEq for Unorm64[src]

impl<'_> Sub<&'_ Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<Unorm64> for Unorm64[src]

type Output = Self

The resulting type after applying the - operator.

impl<'_> SubAssign<&'_ Unorm64> for Unorm64[src]

impl SubAssign<Unorm64> for Unorm64[src]

impl ToPrimitive for Unorm64[src]

impl TryFrom<f32> for Unorm64[src]

type Error = FloatToUnormError<f32>

The type returned in the event of a conversion error.

impl TryFrom<f64> for Unorm64[src]

type Error = FloatToUnormError<f64>

The type returned in the event of a conversion error.

impl Unsigned for Unorm64[src]

impl Zero for Unorm64[src]

Auto Trait Implementations

impl RefUnwindSafe for Unorm64

impl Send for Unorm64

impl Sync for Unorm64

impl Unpin for Unorm64

impl UnwindSafe for Unorm64

Blanket Implementations

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

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

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

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

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

impl<T> Max for T where
    T: PartialOrd<T>, 
[src]

impl<T> Min for T where
    T: PartialOrd<T>, 
[src]

impl<T> Num for T where
    T: Copy + Debug + Max + Min + Num + NumCast + NumRef
[src]

impl<T> NumAssign for T where
    T: Num + NumAssignOps<T>, 
[src]

impl<T, Rhs> NumAssignOps<Rhs> for T where
    T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>, 
[src]

impl<T> NumAssignRef for T where
    T: NumAssign + for<'r> NumAssignOps<&'r T>, 
[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]

impl<T> NumRef for T where
    T: Num + for<'r> NumOps<&'r T, T>, 
[src]

impl<T, Base> RefNum<Base> for T where
    T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

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.