Enum gdk4::KeyMatch [−][src]
#[non_exhaustive]
pub enum KeyMatch {
None,
Partial,
Exact,
// some variants omitted
}
Expand description
Describes how well an event matches a given keyval and modifiers.
KeyMatch
values are returned by KeyEvent::matches()
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The key event does not match
The key event matches if keyboard state (specifically, the currently active group) is ignored
The key event matches
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. 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
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for KeyMatch
impl UnwindSafe for KeyMatch
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.