pub struct ControlState {
pub interaction: InteractionState,
pub selected: bool,
}Expand description
Complete semantic state for an action control.
Fields§
§interaction: InteractionState§selected: boolImplementations§
Source§impl ControlState
impl ControlState
Trait Implementations§
Source§impl Clone for ControlState
impl Clone for ControlState
Source§fn clone(&self) -> ControlState
fn clone(&self) -> ControlState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlState
Source§impl Debug for ControlState
impl Debug for ControlState
Source§impl Default for ControlState
impl Default for ControlState
Source§fn default() -> ControlState
fn default() -> ControlState
Returns the “default value” for a type. Read more
impl Eq for ControlState
Source§impl PartialEq for ControlState
impl PartialEq for ControlState
impl StructuralPartialEq for ControlState
Auto Trait Implementations§
impl Freeze for ControlState
impl RefUnwindSafe for ControlState
impl Send for ControlState
impl Sync for ControlState
impl Unpin for ControlState
impl UnsafeUnpin for ControlState
impl UnwindSafe for ControlState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more