NormalTrait

Trait NormalTrait 

Source
pub trait NormalTrait {
    const X: usize = 12usize;

    // Required method
    fn normal_deprecated_fn();
}

Provided Associated Constants§

Source

const X: usize = 12usize

👎Deprecated since 1.26.0: deprecated

doc

Required Methods§

Source

fn normal_deprecated_fn()

👎Deprecated since 1.26.0: deprecated

doc

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§