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

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

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

impl WidgetDefault[src]

pub fn new(style: Box<dyn Any + Send>) -> WidgetDefault[src]

Constructor for a WidgetDefault.

Trait Implementations

impl Debug for WidgetDefault[src]

Auto Trait Implementations

impl !RefUnwindSafe for WidgetDefault

impl Send for WidgetDefault

impl !Sync for WidgetDefault

impl Unpin for WidgetDefault

impl !UnwindSafe for WidgetDefault

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.