[][src]Trait boundnum::value::ToValue

pub trait ToValue<I> {
    fn value() -> I;
}

Required methods

fn value() -> I

Loading content...

Implementors

impl<I: Integer> ToValue<i8> for I where
    I: Cmp<<<i8 as TypeBound>::Min as Outer>::Output, Output = Greater> + Cmp<<<i8 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<I: Integer> ToValue<i16> for I where
    I: Cmp<<<i16 as TypeBound>::Min as Outer>::Output, Output = Greater> + Cmp<<<i16 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<I: Integer> ToValue<i32> for I where
    I: Cmp<<<i32 as TypeBound>::Min as Outer>::Output, Output = Greater> + Cmp<<<i32 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<I: Integer> ToValue<i64> for I where
    I: Cmp<<<i64 as TypeBound>::Min as Outer>::Output, Output = Greater> + Cmp<<<i64 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<I: Integer> ToValue<isize> for I where
    I: Cmp<<<isize as TypeBound>::Min as Outer>::Output, Output = Greater> + Cmp<<<isize as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<U: Unsigned> ToValue<u8> for U where
    U: Cmp<<<u8 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<U: Unsigned> ToValue<u16> for U where
    U: Cmp<<<u16 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<U: Unsigned> ToValue<u32> for U where
    U: Cmp<<<u32 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<U: Unsigned> ToValue<u64> for U where
    U: Cmp<<<u64 as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

impl<U: Unsigned> ToValue<usize> for U where
    U: Cmp<<<usize as TypeBound>::Max as Outer>::Output, Output = Less>, 
[src]

Loading content...