Trait num::One
[−]
[src]
pub trait One: Mul<Self, Output = Self> { fn one() -> Self; }
Defines a multiplicative identity element for Self
.
Required Methods
fn one() -> Self
Implementors
impl One for BigUint
impl One for BigInt
impl<T> One for Ratio<T> where
T: Clone + Integer,impl<T> One for Complex<T> where
T: Clone + Num,impl<T> One for Wrapping<T> where
T: One,
Wrapping<T>: Mul<Wrapping<T>>,
Wrapping<T>::Output == Wrapping<T>,impl One for usize
impl One for u8
impl One for u16
impl One for u32
impl One for u64
impl One for isize
impl One for i8
impl One for i16
impl One for i32
impl One for i64
impl One for f32
impl One for f64