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 ==.