Struct windows_sys::Win32::UI::Input::XboxController::XINPUT_BATTERY_INFORMATION
#[repr(C)]pub struct XINPUT_BATTERY_INFORMATION {
pub BatteryType: BATTERY_TYPE,
pub BatteryLevel: BATTERY_LEVEL,
}
Fields§
§BatteryType: BATTERY_TYPE
§BatteryLevel: BATTERY_LEVEL
Trait Implementations§
§impl Clone for XINPUT_BATTERY_INFORMATION
impl Clone for XINPUT_BATTERY_INFORMATION
§fn clone(&self) -> XINPUT_BATTERY_INFORMATION
fn clone(&self) -> XINPUT_BATTERY_INFORMATION
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 XINPUT_BATTERY_INFORMATION
Auto Trait Implementations§
impl Freeze for XINPUT_BATTERY_INFORMATION
impl RefUnwindSafe for XINPUT_BATTERY_INFORMATION
impl Send for XINPUT_BATTERY_INFORMATION
impl Sync for XINPUT_BATTERY_INFORMATION
impl Unpin for XINPUT_BATTERY_INFORMATION
impl UnwindSafe for XINPUT_BATTERY_INFORMATION
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
)