Struct xcb::xinput::XiDeviceInfoBuf
source · pub struct XiDeviceInfoBuf { /* private fields */ }
Implementations§
source§impl XiDeviceInfoBuf
impl XiDeviceInfoBuf
sourcepub fn new(
device: Device,
type: DeviceType,
attachment: Device,
enabled: bool,
name: &[u8],
classes: &[DeviceClassBuf],
) -> XiDeviceInfoBuf
pub fn new( device: Device, type: DeviceType, attachment: Device, enabled: bool, name: &[u8], classes: &[DeviceClassBuf], ) -> XiDeviceInfoBuf
Construct a new XiDeviceInfoBuf.
Methods from Deref<Target = 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<'_> ⓘ
Trait Implementations§
source§impl Borrow<XiDeviceInfo> for XiDeviceInfoBuf
impl Borrow<XiDeviceInfo> for XiDeviceInfoBuf
source§fn borrow(&self) -> &XiDeviceInfo
fn borrow(&self) -> &XiDeviceInfo
Immutably borrows from an owned value. Read more
source§impl Clone for XiDeviceInfoBuf
impl Clone for XiDeviceInfoBuf
source§fn clone(&self) -> XiDeviceInfoBuf
fn clone(&self) -> XiDeviceInfoBuf
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 XiDeviceInfoBuf
impl Debug for XiDeviceInfoBuf
Auto Trait Implementations§
impl Freeze for XiDeviceInfoBuf
impl RefUnwindSafe for XiDeviceInfoBuf
impl Send for XiDeviceInfoBuf
impl Sync for XiDeviceInfoBuf
impl Unpin for XiDeviceInfoBuf
impl UnwindSafe for XiDeviceInfoBuf
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
)