Struct wayland_client::protocol::wl_seat::WlSeat [−][src]
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]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,