WithNamespace

Trait WithNamespace 

Source
pub trait WithNamespace {
    // Required methods
    fn prefix() -> Option<&'static str>;
    fn namespace() -> Option<&'static str>;
}
Expand description

Trait that adds namespace information to a type.

Required Methods§

Source

fn prefix() -> Option<&'static str>

The default namespace prefix for this type.

Source

fn namespace() -> Option<&'static str>

The namespace for this type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§