Skip to main content

LabeledControlTextStyle

Trait LabeledControlTextStyle 

Source
pub trait LabeledControlTextStyle: Sized {
    // Provided methods
    fn font_family(&self, family: FontFamily) -> &Self { ... }
    fn font_size(&self, size: f32) -> &Self { ... }
    fn text_color(&self, color: u32) -> &Self { ... }
}

Provided Methods§

Source

fn font_family(&self, family: FontFamily) -> &Self

Source

fn font_size(&self, size: f32) -> &Self

Source

fn text_color(&self, color: u32) -> &Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§