#[repr(C, packed(1))]pub struct USB_PORT_STATUS(/* private fields */);
Implementations§
Source§impl USB_PORT_STATUS
impl USB_PORT_STATUS
pub unsafe fn AsUshort16(&self) -> &USHORT
pub unsafe fn AsUshort16_mut(&mut self) -> &mut USHORT
pub unsafe fn Usb20PortStatus(&self) -> &USB_20_PORT_STATUS
pub unsafe fn Usb20PortStatus_mut(&mut self) -> &mut USB_20_PORT_STATUS
pub unsafe fn Usb30PortStatus(&self) -> &USB_30_PORT_STATUS
pub unsafe fn Usb30PortStatus_mut(&mut self) -> &mut USB_30_PORT_STATUS
Trait Implementations§
Source§impl Clone for USB_PORT_STATUS
impl Clone for USB_PORT_STATUS
Source§fn clone(&self) -> USB_PORT_STATUS
fn clone(&self) -> USB_PORT_STATUS
Returns a duplicate 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 moreSource§impl Default for USB_PORT_STATUS
impl Default for USB_PORT_STATUS
Source§fn default() -> USB_PORT_STATUS
fn default() -> USB_PORT_STATUS
Returns the “default value” for a type. Read more
impl Copy for USB_PORT_STATUS
Auto Trait Implementations§
impl Freeze for USB_PORT_STATUS
impl RefUnwindSafe for USB_PORT_STATUS
impl Send for USB_PORT_STATUS
impl Sync for USB_PORT_STATUS
impl Unpin for USB_PORT_STATUS
impl UnwindSafe for USB_PORT_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