pub struct FocusChanged(/* private fields */);Expand description
Hookable: Triggers when focus changes between two Widgets.
§Arguments
- The
Handle<dyn Widget>for the unfocusedWidget - The
Handle<dyn Widget>for the newly focusedWidget
This Hookable is triggered before FocusedOn and
UnfocusedFrom are triggered.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FocusChanged
impl !RefUnwindSafe for FocusChanged
impl Send for FocusChanged
impl Sync for FocusChanged
impl Unpin for FocusChanged
impl UnsafeUnpin for FocusChanged
impl !UnwindSafe for FocusChanged
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