pub trait Catalog: Catalog {
type Class<'a>;
// Required methods
fn default<'a>() -> <Self as Catalog>::Class<'a>;
fn style(
&self,
class: &<Self as Catalog>::Class<'_>,
status: Status,
) -> Style;
// Provided method
fn default_menu<'a>() -> <Self as Catalog>::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.