Trait GetMut

Source
pub trait GetMut<T> {
    // Required method
    fn get_mut(&mut self) -> &mut T;
}
Expand description

Helper trait to mutably get a specific type T from a tuple struct containing disjoint heterogeneous types

Required Methods§

Source

fn get_mut(&mut self) -> &mut T

Implementors§