Struct immi::UiState
[−]
[src]
pub struct UiState { pub active_widget: Option<WidgetId>, }
Contains some persistent info about the UI.
Fields
active_widget: Option<WidgetId>
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]
impl Clone for UiState
[src]
fn clone(&self) -> UiState
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 Default for UiState
[src]
impl PartialEq for UiState
[src]
fn eq(&self, __arg_0: &UiState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UiState) -> bool
This method tests for !=
.