pub struct ElementState {
pub is_displayed: bool,
pub is_enabled: bool,
pub is_selected: bool,
pub is_clickable: bool,
}Expand description
State information about an element.
Fields§
§is_displayed: boolWhether the element is displayed (visible).
is_enabled: boolWhether the element is enabled (not disabled).
is_selected: boolWhether the element is selected (for checkboxes, radio buttons, options).
is_clickable: boolWhether the element is clickable (displayed and enabled).
Trait Implementations§
Source§impl Clone for ElementState
impl Clone for ElementState
Source§fn clone(&self) -> ElementState
fn clone(&self) -> ElementState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ElementState
impl RefUnwindSafe for ElementState
impl Send for ElementState
impl Sync for ElementState
impl Unpin for ElementState
impl UnwindSafe for ElementState
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