pub struct InputCtx { /* private fields */ }Expand description
Passed to use_input handlers alongside each key event, letting a
handler stop the event from reaching ancestor handlers.
Implementations§
Source§impl InputCtx
impl InputCtx
Sourcepub fn stop_propagation(&mut self)
pub fn stop_propagation(&mut self)
Prevents this key event from bubbling to handlers further up the tree (dispatch is deepest-first).
Auto Trait Implementations§
impl Freeze for InputCtx
impl RefUnwindSafe for InputCtx
impl Send for InputCtx
impl Sync for InputCtx
impl Unpin for InputCtx
impl UnsafeUnpin for InputCtx
impl UnwindSafe for InputCtx
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