Struct conrod::widget::CommonState [] [src]

pub struct CommonState {
    pub rect: Rect,
    pub depth: Depth,
    pub maybe_floating: Option<Floating>,
    pub kid_area: KidArea,
    pub maybe_x_scroll_state: Option<StateX>,
    pub maybe_y_scroll_state: Option<StateY>,
}

A wrapper around state that is common to all Widget types.

Fields

The rectangle describing the Widget's area.

The rendering depth for the Widget (the default is 0.0).

Floating state for the widget if it is floating.

The area of the widget upon which kid widgets are placed.

If the widget is scrollable across the x axis.

If the widget is scrollable across the y axis.

Trait Implementations

impl Copy for CommonState
[src]

impl Clone for CommonState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CommonState
[src]

Formats the value using the given formatter.

impl PartialEq for CommonState
[src]

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

This method tests for !=.