pub enum TooltipTimerAction {
Start(Timer),
Stop,
NoChange,
}Expand description
Action for the tooltip-delay timer, returned by
LayoutWindow::handle_hover_change_for_tooltip(). Platform layer translates
these to start_timer / stop_timer calls on TOOLTIP_DELAY_TIMER_ID.
Variants§
Start(Timer)
Start the tooltip-delay timer with the given configuration
Stop
Stop the tooltip-delay timer and hide the tooltip if shown
NoChange
No change needed (timer already in correct state)
Trait Implementations§
Source§impl Clone for TooltipTimerAction
impl Clone for TooltipTimerAction
Source§fn clone(&self) -> TooltipTimerAction
fn clone(&self) -> TooltipTimerAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TooltipTimerAction
impl RefUnwindSafe for TooltipTimerAction
impl Send for TooltipTimerAction
impl Sync for TooltipTimerAction
impl Unpin for TooltipTimerAction
impl UnsafeUnpin for TooltipTimerAction
impl UnwindSafe for TooltipTimerAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more