pub struct SemanticState {
pub protected: bool,
pub disabled: bool,
pub selected: bool,
pub multiselectable: bool,
pub checked: Option<CheckedState>,
pub pressed: Option<bool>,
pub expanded: Option<bool>,
pub required: bool,
pub read_only: bool,
pub invalid: bool,
pub modal: bool,
pub busy: bool,
}Fields§
§protected: bool§disabled: bool§selected: bool§multiselectable: bool§checked: Option<CheckedState>§pressed: Option<bool>Persistent pressed state of a toggle button, independent from pointer press.
expanded: Option<bool>§required: bool§read_only: bool§invalid: bool§modal: bool§busy: boolTrait Implementations§
Source§impl Clone for SemanticState
impl Clone for SemanticState
Source§fn clone(&self) -> SemanticState
fn clone(&self) -> SemanticState
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 moreSource§impl Debug for SemanticState
impl Debug for SemanticState
Source§impl Default for SemanticState
impl Default for SemanticState
Source§fn default() -> SemanticState
fn default() -> SemanticState
Returns the “default value” for a type. Read more
impl Eq for SemanticState
Source§impl PartialEq for SemanticState
impl PartialEq for SemanticState
impl StructuralPartialEq for SemanticState
Auto Trait Implementations§
impl Freeze for SemanticState
impl RefUnwindSafe for SemanticState
impl Send for SemanticState
impl Sync for SemanticState
impl Unpin for SemanticState
impl UnsafeUnpin for SemanticState
impl UnwindSafe for SemanticState
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