Trait ttf_parser::parser::TryNumFrom[][src]

pub trait TryNumFrom<T>: Sized {
    fn try_num_from(_: T) -> Option<Self>;
}

Just like TryFrom, but for numeric types not supported by the Rust's std.

Required methods

fn try_num_from(_: T) -> Option<Self>[src]

Casts between numeric types.

Loading content...

Implementations on Foreign Types

impl TryNumFrom<f32> for u8[src]

impl TryNumFrom<f32> for i16[src]

impl TryNumFrom<f32> for u16[src]

impl TryNumFrom<f32> for i32[src]

Loading content...

Implementors

Loading content...