[−][src]Struct wayland_protocols::unstable::tablet::v2::server::zwp_tablet_v2::ZwpTabletV2
Implementations
impl ZwpTabletV2
[src]
pub fn name(&self, name: String)
[src]
tablet device name
This event is sent in the initial burst of events before the wp_tablet.done event.
pub fn id(&self, vid: u32, pid: u32)
[src]
tablet device USB vendor/product id
This event is sent in the initial burst of events before the wp_tablet.done event.
pub fn path(&self, path: String)
[src]
path to the device
A system-specific device path that indicates which device is behind this wp_tablet. This information may be used to gather additional information about the device, e.g. through libwacom.
A device may have more than one device path. If so, multiple wp_tablet.path events are sent. A device may be emulated and not have a device path, and in that case this event will not be sent.
The format of the path is unspecified, it may be a device node, a sysfs path, or some other identifier. It is up to the client to identify the string provided.
This event is sent in the initial burst of events before the wp_tablet.done event.
pub fn done(&self)
[src]
tablet description events sequence complete
This event is sent immediately to signal the end of the initial burst of descriptive events. A client may consider the static description of the tablet to be complete and finalize initialization of the tablet.
pub fn removed(&self)
[src]
tablet removed event
Sent when the tablet has been removed from the system. When a tablet is removed, some tools may be removed.
When this event is received, the client must wp_tablet.destroy the object.
Trait Implementations
impl AsRef<Resource<ZwpTabletV2>> for ZwpTabletV2
[src]
impl Clone for ZwpTabletV2
[src]
fn clone(&self) -> ZwpTabletV2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwpTabletV2
[src]
impl Eq for ZwpTabletV2
[src]
impl From<Resource<ZwpTabletV2>> for ZwpTabletV2
[src]
impl From<ZwpTabletV2> for Resource<ZwpTabletV2>
[src]
fn from(value: ZwpTabletV2) -> Self
[src]
impl Interface for ZwpTabletV2
[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<ZwpTabletV2> for ZwpTabletV2
[src]
fn eq(&self, other: &ZwpTabletV2) -> bool
[src]
fn ne(&self, other: &ZwpTabletV2) -> bool
[src]
impl StructuralEq for ZwpTabletV2
[src]
impl StructuralPartialEq for ZwpTabletV2
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpTabletV2
impl Send for ZwpTabletV2
impl Sync for ZwpTabletV2
impl Unpin for ZwpTabletV2
impl !UnwindSafe for ZwpTabletV2
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>,