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]
fn clone(&self) -> CommonStyle
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 Copy for CommonStyle
[src]
impl Debug for CommonStyle
[src]
impl Default for CommonStyle
[src]
fn default() -> CommonStyle
Returns the "default value" for a type. Read more
impl PartialEq for CommonStyle
[src]
fn eq(&self, __arg_0: &CommonStyle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CommonStyle) -> bool
This method tests for !=
.