Struct nannou::ui::theme::UniqueDefault[][src]

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

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

Fields

The unique style for the widget.

Attributes that are common to all widgets.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl<'a, T> Send for UniqueDefault<'a, T> where
    T: Sync

impl<'a, T> Sync for UniqueDefault<'a, T> where
    T: Sync