pub struct ControlStates {
pub common: CommonState,
pub focused: bool,
}Expand description
What the state tracker knows: the common state and whether the system focus visual shows, which it does while the control has the focus and the focus arrived by keyboard.
Fields§
§common: CommonState§focused: boolTrait Implementations§
Source§impl Clone for ControlStates
impl Clone for ControlStates
impl Copy for ControlStates
Source§impl Debug for ControlStates
impl Debug for ControlStates
Source§impl Default for ControlStates
impl Default for ControlStates
impl Eq for ControlStates
Source§impl PartialEq for ControlStates
impl PartialEq for ControlStates
impl StructuralPartialEq for ControlStates
Auto Trait Implementations§
impl Forget for ControlStates
impl Freeze for ControlStates
impl Move for ControlStates
impl RefUnwindSafe for ControlStates
impl Send for ControlStates
impl Sync for ControlStates
impl Unpin for ControlStates
impl UnsafeUnpin for ControlStates
impl UnwindSafe for ControlStates
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.