Trait Type

Source
pub trait Type: Namespace {
    // Provided methods
    fn is_abstract(&self) -> bool { ... }
    fn is_sufficient(&self) -> bool { ... }
    fn is_conjugated(&self) -> bool { ... }
    fn specializes(&self, _supertype: &Self) -> bool { ... }
}

Provided Methods§

Source

fn is_abstract(&self) -> bool

Source

fn is_sufficient(&self) -> bool

Source

fn is_conjugated(&self) -> bool

Source

fn specializes(&self, _supertype: &Self) -> bool

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§