[−][src]Trait ufix::FromPositive
Conversion from type-level Positive
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_positive<N>() -> Self where
N: Positive,
N: Positive,
Creates a value from a type.
Implementors
impl FromPositive for i8
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for i16
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for i32
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for i64
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for u8
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for u16
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for u32
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,
impl FromPositive for u64
[src]
fn from_positive<N>() -> Self where
N: Positive,
[src]
N: Positive,