Trait aorist_extendr_api::robj::AsTypedSlice [−][src]
pub trait AsTypedSlice<'a, T> where
Self: 'a, { fn as_typed_slice(&self) -> Option<&'a [T]>
where
Self: 'a, { ... } fn as_typed_slice_mut(&mut self) -> Option<&'a mut [T]>
where
Self: 'a, { ... } }
Expand description
Generic access to typed slices in an Robj.
Provided methods
fn as_typed_slice(&self) -> Option<&'a [T]> where
Self: 'a,
fn as_typed_slice_mut(&mut self) -> Option<&'a mut [T]> where
Self: 'a,