[][src]Function proc_macro_roids::nested_meta_to_ident

pub fn nested_meta_to_ident(nested_meta: &NestedMeta) -> Option<Ident>

Returns the Ident of a nested meta. If it is a literal, None is returned.

Parameters

  • nested_meta: The NestedMeta to extract the Ident from.