[−][src]Struct wayland_protocols::unstable::tablet::v2::server::zwp_tablet_seat_v2::ZwpTabletSeatV2
Implementations
impl ZwpTabletSeatV2
[src]
pub fn tablet_added(&self, id: &ZwpTabletV2)
[src]
new device notification
This event is sent whenever a new tablet becomes available on this seat. This event only provides the object id of the tablet, any static information about the tablet (device name, vid/pid, etc.) is sent through the wp_tablet interface.
pub fn tool_added(&self, id: &ZwpTabletToolV2)
[src]
a new tool has been used with a tablet
This event is sent whenever a tool that has not previously been used with a tablet comes into use. This event only provides the object id of the tool; any static information about the tool (capabilities, type, etc.) is sent through the wp_tablet_tool interface.
pub fn pad_added(&self, id: &ZwpTabletPadV2)
[src]
new pad notification
This event is sent whenever a new pad is known to the system. Typically, pads are physically attached to tablets and a pad_added event is sent immediately after the wp_tablet_seat.tablet_added. However, some standalone pad devices logically attach to tablets at runtime, and the client must wait for wp_tablet_pad.enter to know the tablet a pad is attached to.
This event only provides the object id of the pad. All further features (buttons, strips, rings) are sent through the wp_tablet_pad interface.
Trait Implementations
impl AsRef<Resource<ZwpTabletSeatV2>> for ZwpTabletSeatV2
[src]
impl Clone for ZwpTabletSeatV2
[src]
fn clone(&self) -> ZwpTabletSeatV2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwpTabletSeatV2
[src]
impl Eq for ZwpTabletSeatV2
[src]
impl From<Resource<ZwpTabletSeatV2>> for ZwpTabletSeatV2
[src]
impl From<ZwpTabletSeatV2> for Resource<ZwpTabletSeatV2>
[src]
fn from(value: ZwpTabletSeatV2) -> Self
[src]
impl Interface for ZwpTabletSeatV2
[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<ZwpTabletSeatV2> for ZwpTabletSeatV2
[src]
fn eq(&self, other: &ZwpTabletSeatV2) -> bool
[src]
fn ne(&self, other: &ZwpTabletSeatV2) -> bool
[src]
impl StructuralEq for ZwpTabletSeatV2
[src]
impl StructuralPartialEq for ZwpTabletSeatV2
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpTabletSeatV2
impl Send for ZwpTabletSeatV2
impl Sync for ZwpTabletSeatV2
impl Unpin for ZwpTabletSeatV2
impl !UnwindSafe for ZwpTabletSeatV2
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
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.
fn to_owned(&self) -> T
[src]
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.
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>,