Struct windows::Win32::Devices::Usb::WINUSB_POWER_POLICY
#[repr(transparent)]pub struct WINUSB_POWER_POLICY(pub u32);
Tuple Fields§
§0: u32
Trait Implementations§
§impl Clone for WINUSB_POWER_POLICY
impl Clone for WINUSB_POWER_POLICY
§fn clone(&self) -> WINUSB_POWER_POLICY
fn clone(&self) -> WINUSB_POWER_POLICY
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 WINUSB_POWER_POLICY
impl Debug for WINUSB_POWER_POLICY
§impl Default for WINUSB_POWER_POLICY
impl Default for WINUSB_POWER_POLICY
§fn default() -> WINUSB_POWER_POLICY
fn default() -> WINUSB_POWER_POLICY
Returns the “default value” for a type. Read more
§impl PartialEq for WINUSB_POWER_POLICY
impl PartialEq for WINUSB_POWER_POLICY
§fn eq(&self, other: &WINUSB_POWER_POLICY) -> bool
fn eq(&self, other: &WINUSB_POWER_POLICY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WINUSB_POWER_POLICY
impl Eq for WINUSB_POWER_POLICY
impl StructuralPartialEq for WINUSB_POWER_POLICY
Auto Trait Implementations§
impl Freeze for WINUSB_POWER_POLICY
impl RefUnwindSafe for WINUSB_POWER_POLICY
impl Send for WINUSB_POWER_POLICY
impl Sync for WINUSB_POWER_POLICY
impl Unpin for WINUSB_POWER_POLICY
impl UnwindSafe for WINUSB_POWER_POLICY
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
)