Trait extendr_api::wrapper::altrep::AltStringImpl

source ·
pub trait AltStringImpl {
    // Required method
    fn elt(&self, _index: usize) -> Rstr;

    // Provided methods
    fn set_elt(&mut self, _index: usize, _value: Rstr) { ... }
    fn is_sorted(&self) -> Rbool { ... }
    fn no_na(&self) -> bool { ... }
}

Required Methods§

source

fn elt(&self, _index: usize) -> Rstr

Get a single element from this vector.

Provided Methods§

source

fn set_elt(&mut self, _index: usize, _value: Rstr)

Set a single element in this vector.

source

fn is_sorted(&self) -> Rbool

Return TRUE if this vector is sorted, FALSE if not and Rbool::na() if unknown.

source

fn no_na(&self) -> bool

Return true if this vector does not contain NAs.

Implementors§