Struct xcb::xinput::DeviceInfo
source · pub struct DeviceInfo { /* private fields */ }
Implementations§
source§impl DeviceInfo
impl DeviceInfo
sourcepub fn new(
device_type: Atom,
device_id: u8,
num_class_info: u8,
device_use: DeviceUse,
) -> DeviceInfo
pub fn new( device_type: Atom, device_id: u8, num_class_info: u8, device_use: DeviceUse, ) -> DeviceInfo
Construct a new DeviceInfo.
pub fn device_type(&self) -> Atom
pub fn device_id(&self) -> u8
pub fn num_class_info(&self) -> u8
pub fn device_use(&self) -> DeviceUse
Trait Implementations§
source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
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 moresource§impl Debug for DeviceInfo
impl Debug for DeviceInfo
impl Copy for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)