[][src]Trait heaparray::LabelledArrayMut

pub trait LabelledArrayMut<E, L>: LabelledArray<E, L> {
    fn get_label_mut(&mut self) -> &mut L;
unsafe fn get_mut_unchecked(&mut self, idx: usize) -> &mut E; }

Array with optional label struct stored next to the data that can be mutated

Required methods

fn get_label_mut(&mut self) -> &mut L

Get mutable reference to the label.

unsafe fn get_mut_unchecked(&mut self, idx: usize) -> &mut E

Get a mutable reference to the element at a specified index. Implementations of this method shouldn't do any safety checks.

Loading content...

Implementors

impl<E, L, P> LabelledArrayMut<E, L> for SafeArray<E, L, P> where
    P: SafeArrayPtr<E, L>, 
[src]

Loading content...