pub trait StableTrait {
// Provided method
fn stable_trait_method(&self) { ... }
}Expand description
Provided Methods§
Sourcefn stable_trait_method(&self)
fn stable_trait_method(&self)
A stable trait method
This method is stable.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl StableTrait for StableStruct
§Stability
This API was stabilized in version 1.0.0.