Skip to main content

ContigousIntegerVector

Type Alias ContigousIntegerVector 

Source
pub type ContigousIntegerVector = NumericVector<i32, true>;

Aliased Type§

pub struct ContigousIntegerVector(/* private fields */);

Trait Implementations§

Source§

impl NumericTrait for ContigousIntegerVector

Source§

impl ParameterVectorTrait for ContigousIntegerVector
where Self: NumericTrait,

Source§

fn compose<F: FnMut(usize) -> Self::SerialType>(self, _: F) -> Self

Composes a vector by giving an index

Source§

fn compose_with<F: FnMut(Self::SerialType) -> Self::SerialType>( self, _: F, ) -> Self

Composes a vector, but hands out the old values instead of an index

Source§

fn compose_map<T, F>(self, _: F) -> T
where F: FnMut(Self::SerialType) -> T::SerialType, T: ParameterVectorTrait,

Composes a new vector via a mapping

Source§

fn extract(self, index: usize) -> i32

Property that xn = n, x1 = n + 1, and x2 = n2, shall hold for continous integer vectors, otherwise it’s undefined behaviour

Source§

type SerialType = i32

Source§

fn insert(self, value: i32, index: usize) -> Self

Source§

fn seq(v: Self::SerialType) -> Self::SerialType

Source§

fn decompose<F: FnMut(usize)>(self, f: F)

Source§

fn decompose_with<F: FnMut(Self::SerialType)>(self, f: F)