Struct conrod::widget::CommonStyle [−][src]
pub struct CommonStyle { pub maybe_x_dimension: Option<Dimension>, pub maybe_y_dimension: Option<Dimension>, pub maybe_x_position: Option<Position>, pub maybe_y_position: Option<Position>, pub maybe_depth: Option<Depth>, }
Styling and positioning data that is common between all widget types.
Fields
maybe_x_dimension: Option<Dimension>
The width of a Widget.
maybe_y_dimension: Option<Dimension>
The height of a Widget.
maybe_x_position: Option<Position>
The position of a Widget along the x axis.
maybe_y_position: Option<Position>
The position of a Widget along the y axis.
maybe_depth: Option<Depth>
The rendering Depth of the Widget.
Trait Implementations
impl Clone for CommonStyle
[src]
impl Clone for CommonStyle
fn clone(&self) -> CommonStyle
[src]
fn clone(&self) -> CommonStyle
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 Copy for CommonStyle
[src]
impl Copy for CommonStyle
impl Debug for CommonStyle
[src]
impl Debug for CommonStyle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for CommonStyle
[src]
impl Default for CommonStyle
fn default() -> CommonStyle
[src]
fn default() -> CommonStyle
Returns the "default value" for a type. Read more
impl PartialEq for CommonStyle
[src]
impl PartialEq for CommonStyle
fn eq(&self, other: &CommonStyle) -> bool
[src]
fn eq(&self, other: &CommonStyle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CommonStyle) -> bool
[src]
fn ne(&self, other: &CommonStyle) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CommonStyle
impl Send for CommonStyle
impl Sync for CommonStyle
impl Sync for CommonStyle