pub struct EventResult {
pub scrolled: bool,
pub hit: Option<String>,
pub clicked: Option<String>,
}Fields§
§scrolled: boolA scroll view used the event (wheel, scrollbar).
hit: Option<String>The clickable element under the cursor (hit_test: deepest enabled with on_click).
clicked: Option<String>Its on_click, for a click.
Trait Implementations§
Source§impl Debug for EventResult
impl Debug for EventResult
Source§impl Default for EventResult
impl Default for EventResult
Auto Trait Implementations§
impl Freeze for EventResult
impl RefUnwindSafe for EventResult
impl Send for EventResult
impl Sync for EventResult
impl Unpin for EventResult
impl UnsafeUnpin for EventResult
impl UnwindSafe for EventResult
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