instability_example

Trait UnstableTrait

Source
pub trait UnstableTrait {
    // Provided method
    fn stable_trait_method(&self) { ... }
}
Available on crate feature unstable-trait only.
Expand description

An unstable trait

This trait is unstable

§Stability

This API is marked as unstable and is only available when the unstable-trait crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Provided Methods§

Source

fn stable_trait_method(&self)

A stable trait method

This method is stable.

Implementors§

Source§

impl UnstableTrait for StableStruct

§Stability

This API is marked as unstable and is only available when the unstable-trait crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.