Enum wayland_protocols::unstable::pointer_gestures::v1::server::zwp_pointer_gestures_v1::Request
[−]
[src]
pub enum Request {
GetSwipeGesture {
id: NewResource<ZwpPointerGestureSwipeV1>,
pointer: Resource<WlPointer>,
},
GetPinchGesture {
id: NewResource<ZwpPointerGesturePinchV1>,
pointer: Resource<WlPointer>,
},
}Variants
GetSwipeGestureget swipe gesture
Create a swipe gesture object. See the wl_pointer_gesture_swipe interface for details.
Fields of GetSwipeGesture
id: NewResource<ZwpPointerGestureSwipeV1> | |
pointer: Resource<WlPointer> |
GetPinchGestureget pinch gesture
Create a pinch gesture object. See the wl_pointer_gesture_pinch interface for details.
Fields of GetPinchGesture
id: NewResource<ZwpPointerGesturePinchV1> | |
pointer: Resource<WlPointer> |
Trait Implementations
impl MessageGroup for Request[src]
fn is_destructor(&self) -> bool[src]
Whether this message is a destructor Read more
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation
fn as_raw_c_in<F, T>(self, f: F) -> T where
F: FnOnce(u32, &mut [wl_argument]) -> T, [src]
F: FnOnce(u32, &mut [wl_argument]) -> T,
Build a C representation of this message Read more