Skip to main content

ReportHints

Trait ReportHints 

pub trait ReportHints {
    // Provided method
    fn suppressed_modifiers(&self) -> KeyboardModifiers { ... }
}
Expand description

Report-level policy hints from aggregate context (feature-agnostic).

Families that need to hide held modifiers from the host (e.g. mod-conditioned morphs) expose a suppress mask; the keymap applies it when folding Keymap::pressed_keys.

Provided Methods§

fn suppressed_modifiers(&self) -> KeyboardModifiers

Modifier bits to strip from the HID report.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§