pub trait Attributable {
// Required methods
fn role(&self) -> Role;
fn alias(&self) -> &str;
}Expand description
Trait every alias-bound “thing” implements once next to its struct.
pub trait Attributable {
// Required methods
fn role(&self) -> Role;
fn alias(&self) -> &str;
}Trait every alias-bound “thing” implements once next to its struct.