pub struct UnfocusedFrom<W: Widget>(/* private fields */);Expand description
Hookable: Triggers when the Widget is unfocused.
§Arguments
- The
Handle<W>for the unfocusedWidget - The
Handle<dyn Widget>for the newly focusedWidget
Trait Implementations§
Source§impl<W: Widget> Hookable for UnfocusedFrom<W>
impl<W: Widget> Hookable for UnfocusedFrom<W>
Source§impl<W1: Widget, W2: Widget + ?Sized, W3: Widget + ?Sized> PartialEq<(Handle<W2>, Handle<W3>)> for UnfocusedFrom<W1>
impl<W1: Widget, W2: Widget + ?Sized, W3: Widget + ?Sized> PartialEq<(Handle<W2>, Handle<W3>)> for UnfocusedFrom<W1>
Auto Trait Implementations§
impl<W> Freeze for UnfocusedFrom<W>
impl<W> !RefUnwindSafe for UnfocusedFrom<W>
impl<W> Send for UnfocusedFrom<W>
impl<W> Sync for UnfocusedFrom<W>
impl<W> Unpin for UnfocusedFrom<W>
impl<W> UnsafeUnpin for UnfocusedFrom<W>
impl<W> !UnwindSafe for UnfocusedFrom<W>
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