Enum wayland_protocols::unstable::input_method::v1::client::zwp_input_method_v1::Event [−][src]
#[non_exhaustive]
pub enum Event {
Activate {
id: Main<ZwpInputMethodContextV1>,
},
Deactivate {
context: ZwpInputMethodContextV1,
},
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Activate
Fields
activate event
A text input was activated. Creates an input method context object which allows communication with the text input.
Deactivate
Fields
context: ZwpInputMethodContextV1
deactivate event
The text input corresponding to the context argument was deactivated. The input method context should be destroyed after deactivation is handled.
Trait Implementations
Wire representation of this MessageGroup
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
Whether this message is a destructor Read more
Retrieve the child Object
associated with this message if any
Construct a message from its raw representation
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more