Struct windows::Devices::HumanInterfaceDevice::HidCollectionType
#[repr(transparent)]pub struct HidCollectionType(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl HidCollectionType
impl HidCollectionType
pub const Physical: Self = _
pub const Application: Self = _
pub const Logical: Self = _
pub const Report: Self = _
pub const NamedArray: Self = _
pub const UsageSwitch: Self = _
pub const UsageModifier: Self = _
pub const Other: Self = _
Trait Implementations§
§impl Clone for HidCollectionType
impl Clone for HidCollectionType
§fn clone(&self) -> HidCollectionType
fn clone(&self) -> HidCollectionType
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 HidCollectionType
impl Debug for HidCollectionType
§impl Default for HidCollectionType
impl Default for HidCollectionType
§fn default() -> HidCollectionType
fn default() -> HidCollectionType
Returns the “default value” for a type. Read more
§impl PartialEq for HidCollectionType
impl PartialEq for HidCollectionType
§fn eq(&self, other: &HidCollectionType) -> bool
fn eq(&self, other: &HidCollectionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HidCollectionType
impl Eq for HidCollectionType
impl StructuralPartialEq for HidCollectionType
Auto Trait Implementations§
impl Freeze for HidCollectionType
impl RefUnwindSafe for HidCollectionType
impl Send for HidCollectionType
impl Sync for HidCollectionType
impl Unpin for HidCollectionType
impl UnwindSafe for HidCollectionType
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)