pub fn parse_name(input: ParseStream<'_>, name: &str) -> Option<Ident>
Expand description
Parses the name, if it matches returns Some(name)
and removes the name
from input, if None
it does not modify the input.
pub fn parse_name(input: ParseStream<'_>, name: &str) -> Option<Ident>
Parses the name, if it matches returns Some(name)
and removes the name
from input, if None
it does not modify the input.