#[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