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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".