Trait typemap_meta::Get

source ·
pub trait Get<T> {
    // Required method
    fn get(&self) -> &T;
}
Expand description

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

Required Methods§

source

fn get(&self) -> &T

Implementors§