Trait lib2::Trait

source ·
pub trait Trait {
    type X;

    const Y: u32;

    // Required method
    fn fooo();

    // Provided method
    fn foo() { ... }
}
👎Deprecated: Whatever Foo::a_method
Available on crate feature foo-method only.

Required Associated Constants§

source

const Y: u32

👎Deprecated: Whatever Foo::a_method

Required Associated Types§

source

type X

👎Deprecated: Whatever Foo::a_method

Required Methods§

source

fn fooo()

👎Deprecated: Whatever Foo::a_method

Provided Methods§

source

fn foo()

👎Deprecated: Whatever Foo

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Trait for Foo

source§

const Y: u32 = 0u32

source§

type X = u32