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 Types§

source

type X

👎Deprecated: Whatever Foo::a_method

Required Associated Constants§

source

const Y: u32

👎Deprecated: Whatever Foo::a_method

Required Methods§

source

fn fooo()

👎Deprecated: Whatever Foo::a_method

Provided Methods§

source

fn foo()

👎Deprecated: Whatever Foo

Implementors§

source§

impl Trait for Foo

§

type X = u32

source§

const Y: u32 = 0u32