Trait LabelledArrayRefMut

Source
pub trait LabelledArrayRefMut<E, L>: LabelledArray<E, L> {
    // Required method
    fn get_label_mut(&mut self) -> Option<&mut L>;
}
Expand description

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

Required Methods§

Source

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

Get mutable reference to the label.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§