pub trait Get<T, I>: HListwhere
I: Index,{
// Required methods
fn get(&self) -> &T;
fn get_mut(&mut self) -> &mut T;
}Expand description
Retrieve element of the heterogenous list by type.
pub trait Get<T, I>: HListwhere
I: Index,{
// Required methods
fn get(&self) -> &T;
fn get_mut(&mut self) -> &mut T;
}Retrieve element of the heterogenous list by type.