pub struct NativeFocusEvent { /* private fields */ }Expand description
Data associated with a focus event.
Indicates whether the element is gaining or losing focus.
Implementations§
Source§impl NativeFocusEvent
Implementation of NativeFocusEvent construction.
impl NativeFocusEvent
Implementation of NativeFocusEvent construction.
Source§impl NativeFocusEvent
impl NativeFocusEvent
pub fn get_is_focus(&self) -> &bool
pub fn get_mut_is_focus(&mut self) -> &mut bool
pub fn set_is_focus(&mut self, val: bool) -> &mut Self
pub fn get_is_blur(&self) -> &bool
pub fn get_mut_is_blur(&mut self) -> &mut bool
pub fn set_is_blur(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Default for NativeFocusEvent
impl Default for NativeFocusEvent
Source§fn default() -> NativeFocusEvent
fn default() -> NativeFocusEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeFocusEvent
impl RefUnwindSafe for NativeFocusEvent
impl Send for NativeFocusEvent
impl Sync for NativeFocusEvent
impl Unpin for NativeFocusEvent
impl UnsafeUnpin for NativeFocusEvent
impl UnwindSafe for NativeFocusEvent
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