Trait typemap_meta::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§