Struct recursive_variadic::Entry
[−]
[src]
pub struct Entry<T: Key, R> { /* fields omitted */ }
Wraps some field data and a parent, which is either another Entry or Empty
Trait Implementations
impl<T: Key, R: RecursiveVariadic> RecursiveVariadic for Entry<T, R>
[src]
fn get<N: Key>(&self) -> Option<&N::Value>
Try to get the value for N.
fn get_mut<N: Key>(&mut self) -> Option<&mut N::Value>
Try to get the value for N mutably.
fn and<N: Key>(self, val: N::Value) -> Entry<N, Self> where
Self: Sized,
Self: Sized,
Add a key-value pair to this.
fn and_default<N: Key>(self) -> Entry<N, Self> where
N::Value: Default,
Self: Sized,
N::Value: Default,
Self: Sized,
Add the default value for N