Skip to main content

IntoNamespace

Trait IntoNamespace 

Source
pub trait IntoNamespace {
    // Required method
    fn into_namespace() -> Namespace;
}
Expand description

A type convertible to a Namespace

Required Methods§

Source

fn into_namespace() -> Namespace

Converts this type into a Namespace

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§

Source§

impl<T> IntoNamespace for T
where T: 'static + ?Sized,