pub trait SortableLabel {
// Required method
fn label(&self) -> &str;
}Expand description
Optional supplementary trait for label-based sorting. Implementations that want Title-axis support implement both SortableDoc and SortableLabel.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".