Trait num::traits::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
Implementors
impl One for BigUintimpl One for BigIntimpl<T: Clone + Num> One for Complex<T>impl One for usizeimpl One for u8impl One for u16impl One for u32impl One for u64impl One for isizeimpl One for i8impl One for i16impl One for i32impl One for i64impl One for f32impl One for f64impl<T: Clone + Integer + PartialOrd> One for Ratio<T>