Struct wayland_client::protocol::wl_seat::WlSeat [−][src]
pub struct WlSeat(_);
Implementations
impl WlSeat
[src][−]
pub fn get_pointer(&self) -> Main<WlPointer>
[src][−]
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.
pub fn get_keyboard(&self) -> Main<WlKeyboard>
[src][−]
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.
pub fn get_touch(&self) -> Main<WlTouch>
[src][−]
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.
pub fn release(&self)
[src][−]
release the seat object
Using this request a client can tell the server that it is not going to use the seat object anymore.
This is a destructor, you cannot send requests to this object any longer once this method is called. Only available since version 5 of the interface.
Trait Implementations
impl AsRef<Proxy<WlSeat>> for WlSeat
[src][+]
impl Clone for WlSeat
[src][+]
impl Debug for WlSeat
[src][+]
impl Eq for WlSeat
[src]
impl From<Proxy<WlSeat>> for WlSeat
[src][+]
impl From<WlSeat> for Proxy<WlSeat>
[src][+]
impl Interface for WlSeat
[src][+]
impl PartialEq<WlSeat> for WlSeat
[src][+]
impl StructuralEq for WlSeat
[src]
impl StructuralPartialEq for WlSeat
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WlSeat
impl Send for WlSeat
impl Sync for WlSeat
impl Unpin for WlSeat
impl !UnwindSafe for WlSeat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,