Struct conrod_core::theme::WidgetDefault[][src]

pub struct WidgetDefault {
    pub style: Box<dyn Any + Send>,
    pub common: CommonStyle,
}
Expand description

The defaults for a specific widget.

Fields

style: Box<dyn Any + Send>

The unique style of a widget.

common: CommonStyle

The attributes commonly shared between widgets.

Implementations

Constructor for a WidgetDefault.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.