pub trait HasVersion {
// Required method
fn version(&self) -> Version;
}Expand description
Trait for types that contain a version identifier.
pub trait HasVersion {
// Required method
fn version(&self) -> Version;
}Trait for types that contain a version identifier.