ExtendedCatalog

Trait ExtendedCatalog 

Source
pub trait ExtendedCatalog:
    Catalog
    + Catalog
    + Catalog
    + Catalog {
    // Required method
    fn style(
        &self,
        class: &<Self as Catalog>::Class<'_>,
        status: Status,
    ) -> Style;

    // Provided method
    fn default_input<'a>() -> <Self as Catalog>::Class<'a> { ... }
}
Expand description

The Extended Catalog of a NumberInput.

Required Methods§

Source

fn style(&self, class: &<Self as Catalog>::Class<'_>, status: Status) -> Style

The Style of a class with the given status.

Provided Methods§

Source

fn default_input<'a>() -> <Self as Catalog>::Class<'a>

The default class produced by the Catalog.

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.

Implementations on Foreign Types§

Source§

impl ExtendedCatalog for Theme

Source§

fn style(&self, class: &<Self as Catalog>::Class<'_>, status: Status) -> Style

Implementors§