Struct immi::UiState [] [src]

pub struct UiState {
    pub active_widget: Option<WidgetId>,
}

Contains some persistent info about the UI.

Fields

Identifier of the widget that is currently active.

For example if you maintain the left button of the mouse, the element under will be active. If you then move your mouse somewhere else, the active element doesn't change.

Trait Implementations

impl Debug for UiState
[src]

Formats the value using the given formatter.

impl Clone for UiState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for UiState
[src]

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

impl PartialEq for UiState
[src]

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

This method tests for !=.

impl Eq for UiState
[src]