Struct libinput_device
#[repr(C)]pub struct libinput_device { /* private fields */ }
Expand description
@ingroup device @struct libinput_device
A base handle for accessing libinput devices. This struct is refcounted, use libinput_device_ref() and libinput_device_unref().
Trait Implementations§
Source§impl AsRaw<libinput_device> for Device
impl AsRaw<libinput_device> for Device
Source§fn as_raw(&self) -> *const libinput_device
fn as_raw(&self) -> *const libinput_device
Receive a raw pointer representing this type.
§impl Clone for libinput_device
impl Clone for libinput_device
§fn clone(&self) -> libinput_device
fn clone(&self) -> libinput_device
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_device
impl Debug for libinput_device
Source§impl FromRaw<libinput_device> for Device
impl FromRaw<libinput_device> for Device
impl Copy for libinput_device
Auto Trait Implementations§
impl Freeze for libinput_device
impl RefUnwindSafe for libinput_device
impl Send for libinput_device
impl Sync for libinput_device
impl Unpin for libinput_device
impl UnwindSafe for libinput_device
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