Trait fix::FromUnsigned
[−]
[src]
pub trait FromUnsigned { fn from_unsigned<U>() -> Self
where
U: Unsigned; }
Conversion from type-level Unsigned
integers.
Enables being generic over types which can be created from type-level integers. It should
probably be in typenum
itself...
Required Methods
fn from_unsigned<U>() -> Self where
U: Unsigned,
U: Unsigned,
Creates a value from a type.
Implementors
impl FromUnsigned for u8
impl FromUnsigned for u16
impl FromUnsigned for u32
impl FromUnsigned for u64
impl FromUnsigned for usize
impl FromUnsigned for i8
impl FromUnsigned for i16
impl FromUnsigned for i32
impl FromUnsigned for i64
impl FromUnsigned for isize