Trait extendr_api::wrapper::altrep::AltRawImpl

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

    // Provided method
    fn get_region(&self, index: usize, data: &mut [u8]) -> usize { ... }
}

Required Methods§

source

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

Get a single element from this vector.

Provided Methods§

source

fn get_region(&self, index: usize, data: &mut [u8]) -> usize

Get a multiple elements from this vector.

Object Safety§

This trait is not object safe.

Implementors§