Struct gdk::EventKey[][src]

pub struct EventKey(_);

Methods

impl EventKey
[src]

Methods from Deref<Target = Event>

Returns the associated Window if applicable.

Returns the event type.

Returns whether the event was sent explicitly.

Returns true if the event type matches T.

Trait Implementations

impl Clone for EventKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EventKey
[src]

Formats the value using the given formatter. Read more

impl PartialEq for EventKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for EventKey
[src]

impl PartialOrd for EventKey
[src]

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for EventKey
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for EventKey
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> ToGlibPtr<'a, *const GdkEventKey> for EventKey
[src]

Transfer: none. Read more

Transfer: container. Read more

Transfer: full. Read more

impl<'a> ToGlibPtrMut<'a, *mut GdkEventKey> for EventKey
[src]

Transfer: none. Read more

impl FromGlibPtrNone<*mut GdkEventKey> for EventKey
[src]

impl FromGlibPtrBorrow<*mut GdkEventKey> for EventKey
[src]

impl FromGlibPtrFull<*mut GdkEventKey> for EventKey
[src]

impl AsRef<GdkEventKey> for EventKey
[src]

Performs the conversion.

impl AsMut<GdkEventKey> for EventKey
[src]

Performs the conversion.

impl Deref for EventKey
[src]

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for EventKey
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl !Send for EventKey

impl !Sync for EventKey