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