Struct conrod::theme::UniqueDefault [] [src]

pub struct UniqueDefault<'a, T: 'a> {
    pub style: &'a T,
    pub common: &'a CommonStyle,
}

A WidgetDefault downcast to a Widget's unique Style type.

Fields

style: &'a T

The unique style for the widget.

common: &'a CommonStyle

Attributes that are common to all widgets.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for UniqueDefault<'a, T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a, T: Clone + 'a> Clone for UniqueDefault<'a, T>
[src]

fn clone(&self) -> UniqueDefault<'a, T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a, T: Copy + 'a> Copy for UniqueDefault<'a, T>
[src]