Struct conrod::theme::WidgetDefault
[−]
[src]
pub struct WidgetDefault<T> { pub style: T, pub common: CommonBuilder, }
The defaults for a specific widget.
Fields
style: T
The unique style of a widget.
common: CommonBuilder
The attributes commonly shared between widgets.
Methods
impl<T> WidgetDefault<T>
[src]
fn new(style: T) -> WidgetDefault<T>
Constructor for a WidgetDefault.
Trait Implementations
impl<T: Decodable> Decodable for WidgetDefault<T>
[src]
fn decode<__DT: Decoder>(__arg_0: &mut __DT) -> Result<WidgetDefault<T>, __DT::Error>
impl<T: Encodable> Encodable for WidgetDefault<T>
[src]
impl<T: Clone> Clone for WidgetDefault<T>
[src]
fn clone(&self) -> WidgetDefault<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