pub trait MacroParamElement: Clone + Debug {
    // Required methods
    fn empty() -> Self;
    fn is_single(&self) -> bool;
    fn is_list(&self) -> bool;
    fn single_argument(&self) -> Cow<'_, str, Lean>;
    fn list_argument(&self) -> &[Box<Self>];
}

Required Methods§

source

fn empty() -> Self

source

fn is_single(&self) -> bool

source

fn is_list(&self) -> bool

source

fn single_argument(&self) -> Cow<'_, str, Lean>

source

fn list_argument(&self) -> &[Box<Self>]

Object Safety§

This trait is not object safe.

Implementors§