[][src]Struct winapi::shared::usbspec::USB_DEVICE_CAPABILITY_PD_CONSUMER_PORT_DESCRIPTOR_bmCapabilities

#[repr(C)]
#[repr(packed)]
pub struct USB_DEVICE_CAPABILITY_PD_CONSUMER_PORT_DESCRIPTOR_bmCapabilities {
    pub AsUshort: USHORT,
}

Fields

AsUshort: USHORT

Methods

impl USB_DEVICE_CAPABILITY_PD_CONSUMER_PORT_DESCRIPTOR_bmCapabilities[src]

pub fn BatteryCharging(&self) -> USHORT[src]

pub fn set_BatteryCharging(&mut self, val: USHORT)[src]

pub fn USBPowerDelivery(&self) -> USHORT[src]

pub fn set_USBPowerDelivery(&mut self, val: USHORT)[src]

pub fn USBTypeCCurrent(&self) -> USHORT[src]

pub fn set_USBTypeCCurrent(&mut self, val: USHORT)[src]

pub fn Reserved(&self) -> USHORT[src]

pub fn set_Reserved(&mut self, val: USHORT)[src]

Trait Implementations

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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