Skip to main content

Module editor

Module editor 

Source
Expand description

Traits for working with plugin editors.

Structs§

Modifiers
Modifier keys held while a keyboard event was generated, as reported by Editor::on_virtual_key_from_host. Use the standard bitflags API (contains, intersects, is_empty, etc.) to query individual modifiers.

Enums§

ParentWindowHandle
A raw window handle for platform and GUI framework agnostic editors. This implements HasRawWindowHandle so it can be used directly with GUI libraries that use the same raw_window_handle version. If the library links against a different version of raw_window_handle, then you’ll need to wrap around this type and implement the trait yourself.
VirtualKeyCode
A non-character key delivered to Editor::on_virtual_key_from_host. Variant names mirror standard keyboard nomenclature; printable ASCII characters never appear here because they flow through the plugin window’s native keyboard path instead.

Traits§

Editor
An editor for a Plugin.