pub enum Handled {
Yes,
No,
}Expand description
Whether a key event was taken by a handler.
A key handler returns this to decide whether the event keeps bubbling to the ancestors of the node it reached.
Variants§
Yes
A handler acted on the event, so it stops bubbling.
No
The handler ignored the event, so it bubbles to the parent.
Trait Implementations§
impl Copy for Handled
impl Eq for Handled
impl StructuralPartialEq for Handled
Auto Trait Implementations§
impl Forget for Handled
impl Freeze for Handled
impl Move for Handled
impl RefUnwindSafe for Handled
impl Send for Handled
impl Sync for Handled
impl Unpin for Handled
impl UnsafeUnpin for Handled
impl UnwindSafe for Handled
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