Trait exact_conv::ExactFrom[][src]

pub trait ExactFrom<T>: Sized {
    type Error;
    fn exact_from(value: T) -> Result<Self, Self::Error>;
}

Associated Types

Loading content...

Required methods

fn exact_from(value: T) -> Result<Self, Self::Error>[src]

Loading content...

Implementations on Foreign Types

impl ExactFrom<f32> for u8[src]

type Error = ExactError

impl ExactFrom<f32> for i8[src]

type Error = ExactError

impl ExactFrom<f64> for u8[src]

type Error = ExactError

impl ExactFrom<f64> for i8[src]

type Error = ExactError

impl ExactFrom<f32> for u16[src]

type Error = ExactError

impl ExactFrom<f32> for i16[src]

type Error = ExactError

impl ExactFrom<f64> for u16[src]

type Error = ExactError

impl ExactFrom<f64> for i16[src]

type Error = ExactError

impl ExactFrom<f32> for u32[src]

type Error = ExactError

impl ExactFrom<f32> for i32[src]

type Error = ExactError

impl ExactFrom<f64> for u32[src]

type Error = ExactError

impl ExactFrom<f64> for i32[src]

type Error = ExactError

impl ExactFrom<f32> for u64[src]

type Error = ExactError

impl ExactFrom<f32> for i64[src]

type Error = ExactError

impl ExactFrom<f64> for u64[src]

type Error = ExactError

impl ExactFrom<f64> for i64[src]

type Error = ExactError

impl ExactFrom<f32> for u128[src]

type Error = ExactError

impl ExactFrom<f32> for i128[src]

type Error = ExactError

impl ExactFrom<f64> for u128[src]

type Error = ExactError

impl ExactFrom<f64> for i128[src]

type Error = ExactError

impl ExactFrom<f32> for usize[src]

type Error = ExactError

impl ExactFrom<f32> for isize[src]

type Error = ExactError

impl ExactFrom<f64> for usize[src]

type Error = ExactError

impl ExactFrom<f64> for isize[src]

type Error = ExactError

Loading content...

Implementors

Loading content...