#[repr(u8)]pub enum KeyEventResult {
EventAccepted = 0,
EventIgnored = 1,
}
Expand description
Represents how an item’s key_event handler dealt with a key event. An accepted event results in no further event propagation.
Variants§
EventAccepted = 0
The event was handled.
EventIgnored = 1
The event was not handled and should be sent to other items.
Trait Implementations§
Source§impl Clone for KeyEventResult
impl Clone for KeyEventResult
Source§fn clone(&self) -> KeyEventResult
fn clone(&self) -> KeyEventResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KeyEventResult
impl Debug for KeyEventResult
Source§impl PartialEq for KeyEventResult
impl PartialEq for KeyEventResult
impl Copy for KeyEventResult
impl StructuralPartialEq for KeyEventResult
Auto Trait Implementations§
impl Freeze for KeyEventResult
impl RefUnwindSafe for KeyEventResult
impl Send for KeyEventResult
impl Sync for KeyEventResult
impl Unpin for KeyEventResult
impl UnwindSafe for KeyEventResult
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