Struct windows_sys::Win32::System::Power::BATTERY_USB_CHARGER_STATUS
#[repr(C)]pub struct BATTERY_USB_CHARGER_STATUS {
pub Type: BATTERY_CHARGING_SOURCE_TYPE,
pub Reserved: u32,
pub Flags: u32,
pub MaxCurrent: u32,
pub Voltage: u32,
pub PortType: USB_CHARGER_PORT,
pub PortId: u64,
pub PowerSourceInformation: *mut c_void,
pub OemCharger: GUID,
}
Fields§
§Type: BATTERY_CHARGING_SOURCE_TYPE
§Reserved: u32
§Flags: u32
§MaxCurrent: u32
§Voltage: u32
§PortType: USB_CHARGER_PORT
§PortId: u64
§PowerSourceInformation: *mut c_void
§OemCharger: GUID
Trait Implementations§
§impl Clone for BATTERY_USB_CHARGER_STATUS
impl Clone for BATTERY_USB_CHARGER_STATUS
§fn clone(&self) -> BATTERY_USB_CHARGER_STATUS
fn clone(&self) -> BATTERY_USB_CHARGER_STATUS
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 moreimpl Copy for BATTERY_USB_CHARGER_STATUS
Auto Trait Implementations§
impl Freeze for BATTERY_USB_CHARGER_STATUS
impl RefUnwindSafe for BATTERY_USB_CHARGER_STATUS
impl !Send for BATTERY_USB_CHARGER_STATUS
impl !Sync for BATTERY_USB_CHARGER_STATUS
impl Unpin for BATTERY_USB_CHARGER_STATUS
impl UnwindSafe for BATTERY_USB_CHARGER_STATUS
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
)