Trait extendr_api::prelude::FromRobj
source · [−]pub trait FromRobj<'a>: Sized {
fn from_robj(_robj: &'a Robj) -> Result<Self, &'static str> { ... }
}
Expand description
Trait used for incomming parameter conversion.
Provided methods
Implementations on Foreign Types
sourceimpl<'a, T> FromRobj<'a> for &'a [T] where
Robj: AsTypedSlice<'a, T>,
impl<'a, T> FromRobj<'a> for &'a [T] where
Robj: AsTypedSlice<'a, T>,
Implementors
impl<'a> FromRobj<'a> for StrIter
impl<'a> FromRobj<'a> for Robj
Pass-through Robj conversion, essentially a clone.