Enum druid::text::ImeInvalidation
source · #[non_exhaustive]
pub enum ImeInvalidation {
SelectionChanged,
LayoutChanged,
Reset,
}
Expand description
An event representing an application-initiated change in InputHandler
state.
When we change state that may have previously been retrieved from an
InputHandler
, we notify the platform so that it can invalidate any
data if necessary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SelectionChanged
Indicates the value returned by InputHandler::selection
may have changed.
LayoutChanged
Indicates the values returned by one or more of these methods may have changed:
InputHandler::hit_test_point
InputHandler::line_range
InputHandler::bounding_box
InputHandler::slice_bounding_box
Reset
Indicates any value returned from any InputHandler
method may have changed.
Trait Implementations§
source§impl PartialEq<Event> for Event
impl PartialEq<Event> for Event
impl Copy for Event
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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.