Trait fraction::convert::TryToConvertFrom

source ·
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>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> TryToConvertFrom<T> for i8

source§

impl<T> TryToConvertFrom<T> for i16

source§

impl<T> TryToConvertFrom<T> for i32

source§

impl<T> TryToConvertFrom<T> for i64

source§

impl<T> TryToConvertFrom<T> for i128

source§

impl<T> TryToConvertFrom<T> for isize

source§

impl<T> TryToConvertFrom<T> for u8

source§

impl<T> TryToConvertFrom<T> for u16

source§

impl<T> TryToConvertFrom<T> for u32

source§

impl<T> TryToConvertFrom<T> for u64

source§

impl<T> TryToConvertFrom<T> for u128

source§

impl<T> TryToConvertFrom<T> for usize

Implementors§