Enum druid::InternalEvent
source · pub enum InternalEvent {
MouseLeave,
TargetedCommand(Command),
RouteTimer(TimerToken, WidgetId),
RouteImeStateChange(WidgetId),
}
Expand description
Variants§
MouseLeave
Sent in some cases when the mouse has left the window.
This is used in cases when the platform no longer sends mouse events, but we know that we’ve stopped receiving the mouse events.
TargetedCommand(Command)
A command still in the process of being dispatched.
RouteTimer(TimerToken, WidgetId)
Used for routing timer events.
RouteImeStateChange(WidgetId)
Route an IME change event.
Trait Implementations§
source§impl Clone for InternalEvent
impl Clone for InternalEvent
source§fn clone(&self) -> InternalEvent
fn clone(&self) -> InternalEvent
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for InternalEvent
impl !Send for InternalEvent
impl !Sync for InternalEvent
impl Unpin for InternalEvent
impl !UnwindSafe for InternalEvent
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.