Type Alias Empty

Source
pub type Empty = ();
Expand description

The base case for recursive variadics: no fields.

Trait Implementations§

Source§

impl RecursiveVariadic for Empty

Source§

fn get<N: Key>(&self) -> Option<&N::Value>

Try to get the value for N.
Source§

fn get_mut<N: Key>(&mut self) -> Option<&mut N::Value>

Try to get the value for N mutably.
Source§

fn and<N: Key>(self, val: N::Value) -> Entry<N, Self>
where Self: Sized,

Add a key-value pair to this.
Source§

fn and_default<N: Key>(self) -> Entry<N, Self>
where N::Value: Default, Self: Sized,

Add the default value for N