pub enum InputResult {
Handled,
Ignored,
RequestRender,
}Expand description
Result of handling an input event.
Variants§
Handled
The event was consumed and handled by this component.
Ignored
The event was not relevant; the framework may propagate it.
RequestRender
The event was handled and the component requests an immediate re-render.
Trait Implementations§
Source§impl Clone for InputResult
impl Clone for InputResult
Source§fn clone(&self) -> InputResult
fn clone(&self) -> InputResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputResult
Source§impl Debug for InputResult
impl Debug for InputResult
Source§impl PartialEq for InputResult
impl PartialEq for InputResult
Source§fn eq(&self, other: &InputResult) -> bool
fn eq(&self, other: &InputResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputResult
Auto Trait Implementations§
impl Freeze for InputResult
impl RefUnwindSafe for InputResult
impl Send for InputResult
impl Sync for InputResult
impl Unpin for InputResult
impl UnsafeUnpin for InputResult
impl UnwindSafe for InputResult
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