Enum druid_shell::text::Event [−][src]
#[non_exhaustive]
pub enum Event {
SelectionChanged,
LayoutChanged,
Reset,
}
Expand description
An event representing an application-initiated change in InputHandler
state.
When we change state that may have previously been retreived 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
Indicates the value returned by InputHandler::selection
may have changed.
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
Indicates any value returned from any InputHandler
method may have changed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more