[][src]Struct wayland_protocols::unstable::tablet::v1::server::zwp_tablet_v1::ZwpTabletV1

pub struct ZwpTabletV1(_);

Implementations

impl ZwpTabletV1[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<ZwpTabletV1>> for ZwpTabletV1[src]

impl Clone for ZwpTabletV1[src]

impl Debug for ZwpTabletV1[src]

impl Eq for ZwpTabletV1[src]

impl From<Resource<ZwpTabletV1>> for ZwpTabletV1[src]

impl From<ZwpTabletV1> for Resource<ZwpTabletV1>[src]

impl Interface for ZwpTabletV1[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

impl PartialEq<ZwpTabletV1> for ZwpTabletV1[src]

impl StructuralEq for ZwpTabletV1[src]

impl StructuralPartialEq for ZwpTabletV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.