[][src]Trait ufix::FromPositive

pub trait FromPositive {
    fn from_positive<N>() -> Self
    where
        N: Positive
; }

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

Creates a value from a type.

Loading content...

Implementors

impl FromPositive for i8[src]

impl FromPositive for i16[src]

impl FromPositive for i32[src]

impl FromPositive for i64[src]

impl FromPositive for u8[src]

impl FromPositive for u16[src]

impl FromPositive for u32[src]

impl FromPositive for u64[src]

Loading content...