FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    KeyGestureExtesions

    trait · ferroui-diagnostics · v0.5.0

    trait KeyGestureExtesions
    

    Extension methods of KeyGesture for raw key events.

    View source

    Members

    matches_raw

    fn matches_raw(self: &Self, key_event: &RawKeyEventArgs) -> bool
    

    C# Matches(this KeyGesture gesture, RawKeyEventArgs keyEvent): whether a raw key event matches the gesture: same keyboard modifiers and the same key, where the numpad operation keys match their regular counterparts. Named matches_raw because KeyGesture::matches is the overload for a routed key event.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.