Trait num_traits::identities::One
[−]
[src]
pub trait One: Sized + Mul<Self, Output = Self> { fn one() -> Self; }
Defines a multiplicative identity element for Self
.
Required Methods
fn one() -> Self
Implementations on Foreign Types
impl One for usize
[src]
impl One for u8
[src]
impl One for u16
[src]
impl One for u32
[src]
impl One for u64
[src]
impl One for isize
[src]
impl One for i8
[src]
impl One for i16
[src]
impl One for i32
[src]
impl One for i64
[src]
impl One for f32
[src]
impl One for f64
[src]
impl<T: One> One for Wrapping<T> where
Wrapping<T>: Mul<Output = Wrapping<T>>,
[src]
Wrapping<T>: Mul<Output = Wrapping<T>>,