pub trait Attribute: Clone + Eq {
type Expression: Expression;
// Required methods
fn name(&self) -> Option<Ident>;
fn value(&self) -> AttrVal<Self::Expression>;
// Provided method
fn is_named(&self) -> bool { ... }
}Required Associated Types§
type Expression: Expression
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.