Trait extendr_api::wrapper::altrep::AltComplexImpl

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

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

Required Methods§

source

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

Get a single element from this vector.

Provided Methods§

source

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

Get a multiple elements from this vector.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Iter: ExactSizeIterator + Debug + Clone> AltComplexImpl for Iter
where Iter::Item: Into<Rcplx>,