Struct libinput_tablet_tool
#[repr(C)]pub struct libinput_tablet_tool { /* private fields */ }
Expand description
@ingroup device @struct libinput_tablet_tool
An object representing a tool being used by a device with the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
Tablet events generated by such a device are bound to a specific tool rather than coming from the device directly. Depending on the hardware it is possible to track the same physical tool across multiple struct libinput_device devices. See libinput_tablet_tool_get_serial() for more details.
This struct is refcounted, use libinput_tablet_tool_ref() and libinput_tablet_tool_unref().
@since 1.2
Trait Implementations§
Source§impl AsRaw<libinput_tablet_tool> for TabletTool
impl AsRaw<libinput_tablet_tool> for TabletTool
Source§fn as_raw(&self) -> *const libinput_tablet_tool
fn as_raw(&self) -> *const libinput_tablet_tool
Receive a raw pointer representing this type.
§impl Clone for libinput_tablet_tool
impl Clone for libinput_tablet_tool
§fn clone(&self) -> libinput_tablet_tool
fn clone(&self) -> libinput_tablet_tool
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for libinput_tablet_tool
impl Debug for libinput_tablet_tool
Source§impl FromRaw<libinput_tablet_tool> for TabletTool
impl FromRaw<libinput_tablet_tool> for TabletTool
impl Copy for libinput_tablet_tool
Auto Trait Implementations§
impl Freeze for libinput_tablet_tool
impl RefUnwindSafe for libinput_tablet_tool
impl Send for libinput_tablet_tool
impl Sync for libinput_tablet_tool
impl Unpin for libinput_tablet_tool
impl UnwindSafe for libinput_tablet_tool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more