Trait Catalog

Source
pub trait Catalog {
    type Class: Default;

    // Required method
    fn style(&self, style: &Self::Class) -> Style;
}
Available on crate feature wayland and Linux and crate feature winit only.
Expand description

A set of rules that dictate the style of a tooltip.

Required Associated Types§

Source

type Class: Default

The supported style of the [StyleSheet].

Required Methods§

Source

fn style(&self, style: &Self::Class) -> Style

Produces the active [Appearance] of a tooltip.

Implementors§