Trait extendr_api::robj::AsTypedSlice [−][src]
Generic access to typed slices in an Robj.
Provided methods
fn as_typed_slice(&self) -> Option<&'a [T]> where
Self: 'a, [src]
Self: 'a,
fn as_typed_slice_mut(&mut self) -> Option<&'a mut [T]> where
Self: 'a, [src]
Self: 'a,
Implementors
impl<'a> AsTypedSlice<'a, f64> for Robj where
Self: 'a, [src]
Self: 'a,
fn as_typed_slice(&self) -> Option<&'a [f64]>[src]
fn as_typed_slice_mut(&mut self) -> Option<&'a mut [f64]>[src]
impl<'a> AsTypedSlice<'a, i32> for Robj where
Self: 'a, [src]
Self: 'a,
fn as_typed_slice(&self) -> Option<&'a [i32]>[src]
fn as_typed_slice_mut(&mut self) -> Option<&'a mut [i32]>[src]
impl<'a> AsTypedSlice<'a, u8> for Robj where
Self: 'a, [src]
Self: 'a,
fn as_typed_slice(&self) -> Option<&'a [u8]>[src]
fn as_typed_slice_mut(&mut self) -> Option<&'a mut [u8]>[src]
impl<'a> AsTypedSlice<'a, Bool> for Robj where
Self: 'a, [src]
Self: 'a,