Struct conrod::theme::WidgetDefault [] [src]

pub struct WidgetDefault {
    pub style: Box<Any>,
    pub common: CommonStyle,
}

The defaults for a specific widget.

Fields

style: Box<Any>

The unique style of a widget.

common: CommonStyle

The attributes commonly shared between widgets.

Methods

impl WidgetDefault
[src]

fn new(style: Box<Any>) -> WidgetDefault

Constructor for a WidgetDefault.