Struct windows::Devices::Enumeration::Pnp::PnpObjectType
#[repr(transparent)]pub struct PnpObjectType(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl PnpObjectType
impl PnpObjectType
pub const Unknown: Self = _
pub const DeviceInterface: Self = _
pub const DeviceContainer: Self = _
pub const Device: Self = _
pub const DeviceInterfaceClass: Self = _
pub const AssociationEndpoint: Self = _
pub const AssociationEndpointContainer: Self = _
pub const AssociationEndpointService: Self = _
pub const DevicePanel: Self = _
pub const AssociationEndpointProtocol: Self = _
Trait Implementations§
§impl Clone for PnpObjectType
impl Clone for PnpObjectType
§fn clone(&self) -> PnpObjectType
fn clone(&self) -> PnpObjectType
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 PnpObjectType
impl Debug for PnpObjectType
§impl Default for PnpObjectType
impl Default for PnpObjectType
§fn default() -> PnpObjectType
fn default() -> PnpObjectType
Returns the “default value” for a type. Read more
§impl PartialEq for PnpObjectType
impl PartialEq for PnpObjectType
§fn eq(&self, other: &PnpObjectType) -> bool
fn eq(&self, other: &PnpObjectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PnpObjectType
impl Eq for PnpObjectType
impl StructuralPartialEq for PnpObjectType
Auto Trait Implementations§
impl Freeze for PnpObjectType
impl RefUnwindSafe for PnpObjectType
impl Send for PnpObjectType
impl Sync for PnpObjectType
impl Unpin for PnpObjectType
impl UnwindSafe for PnpObjectType
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
)