[][src]Trait shigens::One

pub trait One {
    fn one() -> Self;

    fn is_one(&self) -> bool
    where
        Self: Sized + PartialEq
, { ... } }

Required methods

fn one() -> Self

Loading content...

Provided methods

fn is_one(&self) -> bool where
    Self: Sized + PartialEq

Loading content...

Implementations on Foreign Types

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 i128[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 u128[src]

impl One for f32[src]

impl One for f64[src]

Loading content...

Implementors

impl<T> One for Quaternion<T> where
    T: One + Zero
[src]

impl<T> One for R<T> where
    T: One
[src]

Loading content...