[][src]Trait ohsl::traits::One

pub trait One: Sized + Mul<Self, Output = Self> {
    pub fn one() -> Self;
}

Required methods

pub fn one() -> Self[src]

Returns the multiplicative identity element 1

Loading content...

Implementations on Foreign Types

impl One for f32[src]

impl One for f64[src]

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]

Loading content...

Implementors

impl<T: Clone + Number> One for Complex<T>[src]

pub fn one() -> Self[src]

Return the multiplicative identity z = 1 + 0i

Loading content...