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".

Implementors§

Source§

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