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.
Methods
impl CommonStyle[src]
Trait Implementations
impl Clone for CommonStyle[src]
fn clone(&self) -> CommonStyle[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more