pub trait Info: Documentable + Attributable {
// Required methods
fn is_introspectable(&self) -> bool;
fn is_deprecated(&self) -> bool;
fn version(&self) -> Option<&Version>;
fn deprecated_version(&self) -> Option<&Version>;
fn stability(&self) -> Option<Stability>;
}Required Methods§
fn is_introspectable(&self) -> bool
fn is_deprecated(&self) -> bool
fn version(&self) -> Option<&Version>
fn deprecated_version(&self) -> Option<&Version>
fn stability(&self) -> Option<Stability>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".