Function attribute_derive::parsing::parse_name
source · 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.