Enum wayland_protocols::unstable::pointer_gestures::v1::client::zwp_pointer_gestures_v1::Request [−][src]
#[non_exhaustive]
pub enum Request {
GetSwipeGesture {
pointer: WlPointer,
},
GetPinchGesture {
pointer: WlPointer,
},
Release,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
GetSwipeGesture
Fields
pointer: WlPointer
get swipe gesture
Create a swipe gesture object. See the wl_pointer_gesture_swipe interface for details.
GetPinchGesture
Fields
pointer: WlPointer
get pinch gesture
Create a pinch gesture object. See the wl_pointer_gesture_pinch interface for details.
Release
destroy the pointer gesture object
Destroy the pointer gesture object. Swipe and pinch objects created via this gesture object remain valid.
This is a destructor, once sent this object cannot be used any longer. Only available since version 2 of the interface
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<Request, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more