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
style: &'a T
The unique style for the widget.
common: &'a CommonStyle
Attributes that are common to all widgets.
Trait Implementations
impl<'a, T> Clone for UniqueDefault<'a, T> where
T: 'a + Clone,
[src]
impl<'a, T> Clone for UniqueDefault<'a, T> where
T: 'a + Clone,
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, T> Debug for UniqueDefault<'a, T> where
T: 'a + Debug,
[src]
impl<'a, T> Debug for UniqueDefault<'a, T> where
T: 'a + Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a, T> Copy for UniqueDefault<'a, T> where
T: 'a + Copy,
[src]
impl<'a, T> Copy for UniqueDefault<'a, T> where
T: 'a + Copy,
Auto Trait Implementations
impl<'a, T> Send for UniqueDefault<'a, T> where
T: Sync,
impl<'a, T> Send for UniqueDefault<'a, T> where
T: Sync,
impl<'a, T> Sync for UniqueDefault<'a, T> where
T: Sync,
impl<'a, T> Sync for UniqueDefault<'a, T> where
T: Sync,