Struct wayland_server::protocol::wl_seat::Implementation
[−]
[src]
pub struct Implementation<ID> { pub get_pointer: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat, _: WlPointer), pub get_keyboard: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat, _: WlKeyboard), pub get_touch: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat, _: WlTouch), pub release: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat), }
Fields
get_pointer: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat, _: WlPointer)
return pointer object
The ID provided will be initialized to the wl_pointer interface for this seat.
This request only takes effect if the seat has the pointer capability, or has had the pointer capability in the past. It is a protocol violation to issue this request on a seat that has never had the pointer capability.
Arguments: event_queue_handle, interface_data, wl_seat, id
get_keyboard: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat, _: WlKeyboard)
return keyboard object
The ID provided will be initialized to the wl_keyboard interface for this seat.
This request only takes effect if the seat has the keyboard capability, or has had the keyboard capability in the past. It is a protocol violation to issue this request on a seat that has never had the keyboard capability.
Arguments: event_queue_handle, interface_data, wl_seat, id
get_touch: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat, _: WlTouch)
return touch object
The ID provided will be initialized to the wl_touch interface for this seat.
This request only takes effect if the seat has the touch capability, or has had the touch capability in the past. It is a protocol violation to issue this request on a seat that has never had the touch capability.
Arguments: event_queue_handle, interface_data, wl_seat, id
release: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSeat)
release the seat object
Using this request a client can tell the server that it is not going to use the seat object anymore.
Arguments: event_queue_handle, interface_data, wl_seat
This is a destructor, you cannot send events to this object once this method is called.
This event only exists since version 5 of the interface
Trait Implementations
impl<ID> Copy for Implementation<ID>
[src]
impl<ID> Clone for Implementation<ID>
[src]
fn clone(&self) -> Implementation<ID>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more