Enum i_slint_core::input::FocusEvent
source · [−]#[repr(C)]
pub enum FocusEvent {
FocusIn,
FocusOut,
WindowReceivedFocus,
WindowLostFocus,
}
Expand description
This event is sent to a component and items when they receive or loose the keyboard focus.
Variants
FocusIn
This event is sent when an item receives the focus.
FocusOut
This event is sent when an item looses the focus.
WindowReceivedFocus
This event is sent when the window receives the keyboard focus.
WindowLostFocus
This event is sent when the window looses the keyboard focus.
Trait Implementations
sourceimpl Clone for FocusEvent
impl Clone for FocusEvent
sourcefn clone(&self) -> FocusEvent
fn clone(&self) -> FocusEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FocusEvent
impl Debug for FocusEvent
sourceimpl PartialEq<FocusEvent> for FocusEvent
impl PartialEq<FocusEvent> for FocusEvent
impl Copy for FocusEvent
impl StructuralPartialEq for FocusEvent
Auto Trait Implementations
impl RefUnwindSafe for FocusEvent
impl Send for FocusEvent
impl Sync for FocusEvent
impl Unpin for FocusEvent
impl UnwindSafe for FocusEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more