Enum wayland_protocols::unstable::pointer_constraints::v1::client::zwp_confined_pointer_v1::Event [−][src]
#[non_exhaustive]
pub enum Event {
Confined,
Unconfined,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Confined
pointer confined
Notification that the pointer confinement of the seat’s pointer is activated.
Unconfined
pointer unconfined
Notification that the pointer confinement of the seat’s pointer is no longer active. If this is a oneshot pointer confinement (see wp_pointer_constraints.lifetime) this object is now defunct and should be destroyed. If this is a persistent pointer confinement (see wp_pointer_constraints.lifetime) this pointer confinement may again reactivate in the future.
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