[][src]Struct uno::UnormSize

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

Implementations

impl UnormSize[src]

pub const fn from_inner(inner: usize) -> 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: usize) -> 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) -> usize[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<&'_ UnormSize> for UnormSize[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<UnormSize> for UnormSize[src]

type Output = Self

The resulting type after applying the + operator.

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

impl AddAssign<UnormSize> for UnormSize[src]

impl Bounded for UnormSize[src]

impl Clone for UnormSize[src]

impl Copy for UnormSize[src]

impl Debug for UnormSize[src]

impl Default for UnormSize[src]

impl Display for UnormSize[src]

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

type Output = Self

The resulting type after applying the / operator.

impl Div<UnormSize> for UnormSize[src]

type Output = Self

The resulting type after applying the / operator.

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

impl DivAssign<UnormSize> for UnormSize[src]

impl Eq for UnormSize[src]

impl From<usize> for UnormSize[src]

impl Hash for UnormSize[src]

impl Into<usize> for UnormSize[src]

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

type Output = Self

The resulting type after applying the * operator.

impl Mul<UnormSize> for UnormSize[src]

type Output = Self

The resulting type after applying the * operator.

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

impl MulAssign<UnormSize> for UnormSize[src]

impl Num for UnormSize[src]

type FromStrRadixErr = <usize as Num>::FromStrRadixErr

impl NumCast for UnormSize[src]

impl One for UnormSize[src]

impl Ord for UnormSize[src]

impl PartialEq<UnormSize> for UnormSize[src]

impl PartialOrd<UnormSize> for UnormSize[src]

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

type Output = Self

The resulting type after applying the % operator.

impl Rem<UnormSize> for UnormSize[src]

type Output = Self

The resulting type after applying the % operator.

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

impl RemAssign<UnormSize> for UnormSize[src]

impl StructuralEq for UnormSize[src]

impl StructuralPartialEq for UnormSize[src]

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

type Output = Self

The resulting type after applying the - operator.

impl Sub<UnormSize> for UnormSize[src]

type Output = Self

The resulting type after applying the - operator.

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

impl SubAssign<UnormSize> for UnormSize[src]

impl ToPrimitive for UnormSize[src]

impl TryFrom<f32> for UnormSize[src]

type Error = FloatToUnormError<f32>

The type returned in the event of a conversion error.

impl TryFrom<f64> for UnormSize[src]

type Error = FloatToUnormError<f64>

The type returned in the event of a conversion error.

impl Unsigned for UnormSize[src]

impl Zero for UnormSize[src]

Auto Trait Implementations

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.