Enum i_slint_core::input::FocusEventResult
source · #[repr(C)]
pub enum FocusEventResult {
FocusAccepted,
FocusIgnored,
}Expand description
Represents how an item’s focus_event handler dealt with a focus event. An accepted event results in no further event propagation.
Variants§
FocusAccepted
The event was handled.
FocusIgnored
The event was not handled and should be sent to other items.
Trait Implementations§
source§impl Clone for FocusEventResult
impl Clone for FocusEventResult
source§fn clone(&self) -> FocusEventResult
fn clone(&self) -> FocusEventResult
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 FocusEventResult
impl Debug for FocusEventResult
source§impl PartialEq<FocusEventResult> for FocusEventResult
impl PartialEq<FocusEventResult> for FocusEventResult
source§fn eq(&self, other: &FocusEventResult) -> bool
fn eq(&self, other: &FocusEventResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for FocusEventResult
impl StructuralPartialEq for FocusEventResult
Auto Trait Implementations§
impl RefUnwindSafe for FocusEventResult
impl Send for FocusEventResult
impl Sync for FocusEventResult
impl Unpin for FocusEventResult
impl UnwindSafe for FocusEventResult
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