pub trait TryToConvertFrom<F>: Sized {
    // Required method
    fn try_to_convert_from(src: F) -> Option<Self>;
}

Required Methods§

source

fn try_to_convert_from(src: F) -> Option<Self>

Implementations on Foreign Types§

source§

impl<T> TryToConvertFrom<T> for u32where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, u32: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for i8where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, i8: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for u16where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, u16: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for u8where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, u8: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for i64where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, i64: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for i16where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, i16: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for i32where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, i32: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for u64where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, u64: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for usizewhere T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, usize: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for u128where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, u128: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for isizewhere T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, isize: GenericInteger,

source§

impl<T> TryToConvertFrom<T> for i128where T: GenericInteger + Clone + One + CheckedAdd + CheckedDiv + CheckedMul + CheckedSub + PartialOrd, i128: GenericInteger,

Implementors§