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§
const Y: u32
👎Deprecated:
Whatever Foo::a_method
Required Associated Types§
type X
👎Deprecated:
Whatever Foo::a_method
Required Methods§
fn fooo()
👎Deprecated:
Whatever Foo::a_method
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".