get_type_from_simple_attr

Function get_type_from_simple_attr 

Source
fn get_type_from_simple_attr(
    attributes: &[Attribute],
    attr_name: &str,
) -> Option<Type>
Expand description

get a simple #[foo(bar)] attribute, returning bar