glib_macros::utils

Function parse_optional_nested_meta_items

source
pub fn parse_optional_nested_meta_items<'a>(
    attrs: impl IntoIterator<Item = &'a Attribute>,
    attr_name: &str,
    items: &mut [&mut dyn ParseNestedMetaItem],
) -> Result<Option<&'a Attribute>>