Struct gdk::EventKey [−][src]
pub struct EventKey(_);
Expand description
Describes a key press or key release event.
Implementations
Methods from Deref<Target = Event>
This is supported on crate feature
v3_20
only.This is supported on crate feature
v3_20
only.This is supported on crate feature
v3_22
only.This is supported on crate feature
v3_22
only.This is supported on crate feature
v3_22
only.This is supported on crate feature
v3_22
only.Returns the event type.
Returns whether the event was sent explicitly.
Tries to downcast to a specific event type.
Tries to downcast to a specific event type.
Trait Implementations
Performs the conversion.
Performs the conversion.
Safety Read more
Safety Read more
Safety Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Transfer: none. Read more
Auto Trait Implementations
impl RefUnwindSafe for EventKey
impl UnwindSafe for EventKey
Blanket Implementations
Mutably borrows from an owned value. Read more