pub struct OnMouseEvent(/* private fields */);Expand description
Hookable: Triggers on every MouseEvent.
§Arguments
- The
Handle<dyn Widget>under the mouse. - The
MouseEventitself.
Trait Implementations§
Source§impl Hookable for OnMouseEvent
impl Hookable for OnMouseEvent
Source§impl PartialEq<MouseEvent> for OnMouseEvent
impl PartialEq<MouseEvent> for OnMouseEvent
Source§impl PartialEq<MouseEventKind> for OnMouseEvent
impl PartialEq<MouseEventKind> for OnMouseEvent
Auto Trait Implementations§
impl Freeze for OnMouseEvent
impl !RefUnwindSafe for OnMouseEvent
impl Send for OnMouseEvent
impl Sync for OnMouseEvent
impl Unpin for OnMouseEvent
impl UnsafeUnpin for OnMouseEvent
impl !UnwindSafe for OnMouseEvent
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