pub trait Catalog: Catalog {
type Class<'a>;
// Required methods
fn default<'a>() -> Self::Class<'a>;
fn style(&self, class: &Self::Class<'_>, status: Status) -> Style;
// Provided method
fn default_menu<'a>() -> Self::Class<'a> { ... }
}
Expand description
The theme catalog of a PickList
.
Required Associated Types§
Required Methods§
Provided Methods§
The default class for the menu of the PickList
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.