[][src]Struct linux_usb_functionfs_sys::usb_pd_cap_battery_info_descriptor

#[repr(C, packed)]pub struct usb_pd_cap_battery_info_descriptor {
    pub bLength: __u8,
    pub bDescriptorType: __u8,
    pub bDevCapabilityType: __u8,
    pub iBattery: __u8,
    pub iSerial: __u8,
    pub iManufacturer: __u8,
    pub bBatteryId: __u8,
    pub bReserved: __u8,
    pub dwChargedThreshold: __le32,
    pub dwWeakThreshold: __le32,
    pub dwBatteryDesignCapacity: __le32,
    pub dwBatteryLastFullchargeCapacity: __le32,
}

Fields

bLength: __u8bDescriptorType: __u8bDevCapabilityType: __u8iBattery: __u8iSerial: __u8iManufacturer: __u8bBatteryId: __u8bReserved: __u8dwChargedThreshold: __le32dwWeakThreshold: __le32dwBatteryDesignCapacity: __le32dwBatteryLastFullchargeCapacity: __le32

Trait Implementations

impl Clone for usb_pd_cap_battery_info_descriptor[src]

impl Copy for usb_pd_cap_battery_info_descriptor[src]

impl Debug for usb_pd_cap_battery_info_descriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.