Enum wayland_protocols::unstable::input_method::v1::server::zwp_input_method_v1::Event
source · pub enum Event {
Activate {
id: Resource<ZwpInputMethodContextV1>,
},
Deactivate {
context: Resource<ZwpInputMethodContextV1>,
},
}
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: Resource<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§
source§impl MessageGroup for Event
impl MessageGroup for Event
source§const MESSAGES: &'static [MessageDesc] = _
const MESSAGES: &'static [MessageDesc] = _
Wire representation of this MessageGroup
§type Map = ResourceMap
type Map = ResourceMap
The wrapper type for ObjectMap allowing the mapping of Object and
NewId arguments to the object map during parsing. Read more
source§fn is_destructor(&self) -> bool
fn is_destructor(&self) -> bool
Whether this message is a destructor Read more
source§fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
Retrieve the child
Object
associated with this message if anysource§fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
Construct a message from its raw representation
source§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
source§fn as_raw_c_in<F, T>(self, f: F) -> Twhere
F: FnOnce(u32, &mut [wl_argument]) -> T,
fn as_raw_c_in<F, T>(self, f: F) -> Twhere
F: FnOnce(u32, &mut [wl_argument]) -> T,
Build a C representation of this message Read more