IRawInputEventArgs
trait · ferroui-base · v0.5.0
trait IRawInputEventArgs: Any
Implemented by every raw input event args type.
Raw event args form a small class hierarchy rooted at
RawInputEventArgs; a derived type embeds its base as its base
field and derefs to it. This trait gives the runtime view of that
hierarchy.
Members
as_raw_input_event_args
fn as_raw_input_event_args(self: &Self) -> &RawInputEventArgs
The base raw input event args.
query_args
fn query_args(self: &Self, type_id: TypeId) -> Option<&dyn Any>
Returns the args viewed as the args type identified by type_id, if
the args are of that type or of a type derived from it.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.