[−][src]Function proc_macro_roids::meta_list_contains
pub fn meta_list_contains(meta_list: &MetaList, operand: &NestedMeta) -> bool
Returns whether the MetaList contains the specified NestedMeta.
This can be used to check if a #[derive(..)] contains SomeDerive.
Parameters
meta_list: TheMetaListto check.operand:NestedMetathat may be in the list.