1 2 3 4 5 6 7 8
/// Trait that adds namespace information to a type. pub trait WithNamespace { /// The default namespace prefix for this type. fn prefix() -> Option<&'static str>; /// The namespace for this type. fn namespace() -> Option<&'static str>; }