Trait ripin::convert_ref::TryFromRef
[−]
[src]
pub trait TryFromRef<T>: Sized { type Err; fn try_from_ref(_: &T) -> Result<Self, Self::Err>; }
Attempt to construct Self
via a conversion from a ref.
Associated Types
type Err
The type returned in the event of a conversion error.
Required Methods
fn try_from_ref(_: &T) -> Result<Self, Self::Err>
Performs the conversion.
Implementors
impl<'a> TryFromRef<&'a str> for f32
impl<'a> TryFromRef<&'a str> for f64
impl<'a> TryFromRef<&'a str> for isize
impl<'a> TryFromRef<&'a str> for i8
impl<'a> TryFromRef<&'a str> for i16
impl<'a> TryFromRef<&'a str> for i32
impl<'a> TryFromRef<&'a str> for i64
impl<'a> TryFromRef<&'a str> for usize
impl<'a> TryFromRef<&'a str> for u8
impl<'a> TryFromRef<&'a str> for u16
impl<'a> TryFromRef<&'a str> for u32
impl<'a> TryFromRef<&'a str> for u64
impl<T> TryFromRef<T> for DummyVariable
impl<'a> TryFromRef<&'a str> for IndexVar
impl<'a, T: Float> TryFromRef<&'a str> for FloatEvaluator<T>
impl<'a, T: PrimInt + Signed> TryFromRef<&'a str> for IntEvaluator<T>