pub struct PointerButtonResult {
pub focused: Option<u64>,
pub capture_id: Option<u64>,
pub consumed: bool,
pub needs_a11y_announce: bool,
}Expand description
Result of a pointer-button event processed by the runtime.
Fields§
§focused: Option<u64>Id of the element that received focus (if any).
capture_id: Option<u64>Id of the captured element.
consumed: boolWhether the event was consumed by the UI.
needs_a11y_announce: boolWhether an accessibility announcement was triggered.
Auto Trait Implementations§
impl Freeze for PointerButtonResult
impl RefUnwindSafe for PointerButtonResult
impl Send for PointerButtonResult
impl Sync for PointerButtonResult
impl Unpin for PointerButtonResult
impl UnsafeUnpin for PointerButtonResult
impl UnwindSafe for PointerButtonResult
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