pub struct PreClickState {
pub disabled: Option<bool>,
pub aria_pressed: Option<String>,
pub aria_expanded: Option<String>,
pub aria_selected: Option<String>,
pub checked: Option<bool>,
pub class_name: Option<String>,
pub is_connected: bool,
}Expand description
Pre-click state captured for verification.
Fields§
§disabled: Option<bool>Whether the element was disabled.
aria_pressed: Option<String>The aria-pressed attribute value.
aria_expanded: Option<String>The aria-expanded attribute value.
aria_selected: Option<String>The aria-selected attribute value.
checked: Option<bool>Whether the element was checked (for checkboxes).
class_name: Option<String>The element’s class name.
is_connected: boolWhether the element is connected to the DOM.
Trait Implementations§
Source§impl Clone for PreClickState
impl Clone for PreClickState
Source§fn clone(&self) -> PreClickState
fn clone(&self) -> PreClickState
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 moreSource§impl Debug for PreClickState
impl Debug for PreClickState
Source§impl Default for PreClickState
impl Default for PreClickState
Source§fn default() -> PreClickState
fn default() -> PreClickState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PreClickState
impl RefUnwindSafe for PreClickState
impl Send for PreClickState
impl Sync for PreClickState
impl Unpin for PreClickState
impl UnsafeUnpin for PreClickState
impl UnwindSafe for PreClickState
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