Trait extendr_api::wrapper::altrep::AltLogicalImpl
source · pub trait AltLogicalImpl: AltrepImpl {
// Required method
fn elt(&self, _index: usize) -> Rbool;
// Provided methods
fn tot_min_max_nas(&self) -> (i64, i32, i32, usize, usize) { ... }
fn get_region(&self, index: usize, data: &mut [Rbool]) -> usize { ... }
fn is_sorted(&self) -> Rbool { ... }
fn no_na(&self) -> bool { ... }
fn sum(&self, remove_nas: bool) -> Robj { ... }
}
Required Methods§
Provided Methods§
fn tot_min_max_nas(&self) -> (i64, i32, i32, usize, usize)
sourcefn get_region(&self, index: usize, data: &mut [Rbool]) -> usize
fn get_region(&self, index: usize, data: &mut [Rbool]) -> usize
Get a multiple elements from this vector.
Object Safety§
This trait is not object safe.