Args

Trait Args 

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

A “set of arguments” that contains T.

Required Methods§

Source

fn get(&self) -> T

Get T from the set of arguments.

The signature of this method usually means that some copying/cloning has to happen. To see why it is designed like this, please refer to the crate-level documentation.

Implementations on Foreign Types§

Source§

impl<T, U> Args<T> for &U
where U: Args<T>,

Source§

fn get(&self) -> T

Implementors§