pub fn match_attribute_with_bool_value<'a>(
    meta: &'a Meta,
    attr: &str
) -> Result<Option<&'a LitBool>>
Expand description

Compares ident and attr and in case they match ensures value is Some and contains a LitBool. Returns true in case ident and attr match, otherwise false.


Returns an error in case ident and attr match but the value is not Some or is not a LitBool.