Trait attribute_derive::AttributeIdent
source · pub trait AttributeIdent: Sized {
type IDENTS: AsRef<[&'static str]>;
const IDENTS: Self::IDENTS;
// Provided method
fn is_ident(path: &Path) -> bool { ... }
}
Expand description
Helper trait providing the path for an attribute.
Automatically derived with Attribute
, if #[attribute(ident = "some_ident")]
is provided.