Trait proc_macro_kwargs::args::KeywordArgId[][src]

pub trait KeywordArgId: Copy + Eq + Hash + Debug {
    fn as_str(&self) -> &str;
fn from_name(name: &str) -> Option<Self>; }
Expand description

The unique id for a single keyword argument

Required methods

The name of this argument, as a string

Get the argument with the specified name, returning None if it’s unknown

Implementors