Type Definition slas::MutStaticVecRef

source · []
pub type MutStaticVecRef<'a, T, const LEN: usize> = &'a mut StaticVecUnion<'a, T, LEN>;
Expand description

Same as StaticVecRef, but mutable.

Trait Implementations

Return pointer to first element. Read more

Return mutable pointer to first element. Read more

Return a reference to self with the type of StaticVecUnion

Return a mutable reference to self with the type of StaticVecUnion. If you want to write to a StaticVec, this is the method that should be used. This method is re-implemented for StaticCowVecs, so it perserves cow behavior even when cows are borrowed as StaticVec’s. Read more

Return a cow vector containing a reference to self.

Indexing without bounds checking. Read more

Same as Self::get_unchecked but mutable. Read more

Returns a static slice spanning from index i to i+SLEN. Read more

Returns a mutable static slice spanning from index i to i+SLEN. Read more

Copies self into a StaticVecUnion.

Statically use B as a backend for self.

Example Read more