Enum i_slint_core::input::FocusEventResult
source · #[repr(u8)]pub enum FocusEventResult {
FocusAccepted = 0,
FocusIgnored = 1,
}
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 = 0
The event was handled.
FocusIgnored = 1
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 for FocusEventResult
impl PartialEq for FocusEventResult
impl Copy for FocusEventResult
impl StructuralPartialEq for FocusEventResult
Auto Trait Implementations§
impl Freeze for FocusEventResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)