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

The width of a Widget.

The height of a Widget.

The position of a Widget along the x axis.

The position of a Widget along the y axis.

The rendering Depth of the Widget.

Trait Implementations

impl Clone for CommonStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CommonStyle
[src]

impl Debug for CommonStyle
[src]

Formats the value using the given formatter. Read more

impl Default for CommonStyle
[src]

Returns the "default value" for a type. Read more

impl PartialEq for CommonStyle
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for CommonStyle

impl Sync for CommonStyle