Trait Namespace

Source
pub trait Namespace {
    const NAME: &'static str;

    // Provided methods
    fn docs() -> Option<&'static str> { ... }
    fn members() -> Vec<&'static NamespaceMemberDefinition> { ... }
}

Required Associated Constants§

Source

const NAME: &'static str

Provided Methods§

Source

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

Source

fn members() -> Vec<&'static NamespaceMemberDefinition>

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§