Trait const_identities::ConstOne[][src]

pub trait ConstOne: One {
    const ONE: Self;
}

The multiplicative identity element for Self, expressed as an associated constant.

Associated Constants

The multiplicative identity.

Implementations on Foreign Types

impl ConstOne for i8
[src]

impl ConstOne for i16
[src]

impl ConstOne for i32
[src]

impl ConstOne for i64
[src]

impl ConstOne for isize
[src]

impl ConstOne for u8
[src]

impl ConstOne for u16
[src]

impl ConstOne for u32
[src]

impl ConstOne for u64
[src]

impl ConstOne for usize
[src]

impl ConstOne for f32
[src]

impl ConstOne for f64
[src]

impl<T> ConstOne for Wrapping<T> where
    T: ConstOne,
    Wrapping<T>: Mul<Output = Wrapping<T>>, 
[src]

impl<T> ConstOne for Complex<T> where
    T: Clone + Num + ConstZero + ConstOne
[src]

Implementors