pub struct ControlState {
pub hover: bool,
pub pressed: bool,
pub focused: bool,
pub checked: bool,
pub disabled: bool,
}Expand description
Estado visual de um controle, usado pelo tema e pela pintura.
Fields§
§hover: bool§pressed: bool§focused: bool§checked: bool§disabled: boolCalculado na pintura: o controle ou algum ancestral está com enabled = false.
Trait Implementations§
Source§impl Clone for ControlState
impl Clone for ControlState
impl Copy for ControlState
Source§impl Debug for ControlState
impl Debug for ControlState
Source§impl Default for ControlState
impl Default for ControlState
impl Eq for ControlState
Source§impl PartialEq for ControlState
impl PartialEq for ControlState
impl StructuralPartialEq for ControlState
Auto Trait Implementations§
impl Forget for ControlState
impl Freeze for ControlState
impl Move 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