Trait attribute_derive::AttributeIdent
source · pub trait AttributeIdent {
const IDENTS: &'static [&'static str];
// Provided methods
fn is_ident(path: &Path) -> bool { ... }
fn ident() -> &'static str { ... }
}
Expand description
Helper trait providing the path for an attribute.
Automatically derived with FromAttr
, if #[attribute(ident = "some_ident")]
is provided.
Required Associated Constants§
Provided Methods§
Object Safety§
This trait is not object safe.