Struct wayland_server::protocol::wl_seat::Implementation
[−]
[src]
pub struct Implementation<ID> {
pub get_pointer: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat, id: WlPointer),
pub get_keyboard: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat, id: WlKeyboard),
pub get_touch: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat, id: WlTouch),
pub release: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat),
}Fields
get_pointer: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat, id: 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, client, wl_seat, id
get_keyboard: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat, id: 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, client, wl_seat, id
get_touch: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &WlSeat, id: 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, client, wl_seat, id
release: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_seat: &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, client, 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