Struct xcb::xinput::XiDeviceInfo
source · [−]pub struct XiDeviceInfo { /* private fields */ }
Implementations
sourceimpl XiDeviceInfo
impl XiDeviceInfo
pub fn device(&self) -> Device
pub fn type(&self) -> DeviceType
pub fn attachment(&self) -> Device
pub fn enabled(&self) -> bool
pub fn name(&self) -> &Lat1Str
pub fn classes(&self) -> DeviceClassIterator<'_>ⓘNotable traits for DeviceClassIterator<'a>impl<'a> Iterator for DeviceClassIterator<'a> type Item = &'a DeviceClass;
Trait Implementations
sourceimpl Borrow<XiDeviceInfo> for XiDeviceInfoBuf
impl Borrow<XiDeviceInfo> for XiDeviceInfoBuf
sourcefn borrow(&self) -> &XiDeviceInfo
fn borrow(&self) -> &XiDeviceInfo
Immutably borrows from an owned value. Read more
sourceimpl Debug for XiDeviceInfo
impl Debug for XiDeviceInfo
sourceimpl ToOwned for XiDeviceInfo
impl ToOwned for XiDeviceInfo
type Owned = XiDeviceInfoBuf
type Owned = XiDeviceInfoBuf
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more