Struct simics_api_sys::usb_device_request_t
source · #[repr(C)]pub struct usb_device_request_t {
pub bmRequestType: uint8,
pub bRequest: uint8,
pub wValue: uint16,
pub wIndex: uint16,
pub wLength: uint16,
}
Fields§
§bmRequestType: uint8
§bRequest: uint8
§wValue: uint16
§wIndex: uint16
§wLength: uint16
Trait Implementations§
source§impl Clone for usb_device_request_t
impl Clone for usb_device_request_t
source§fn clone(&self) -> usb_device_request_t
fn clone(&self) -> usb_device_request_t
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 moresource§impl Debug for usb_device_request_t
impl Debug for usb_device_request_t
source§impl Default for usb_device_request_t
impl Default for usb_device_request_t
source§fn default() -> usb_device_request_t
fn default() -> usb_device_request_t
Returns the “default value” for a type. Read more
source§impl Hash for usb_device_request_t
impl Hash for usb_device_request_t
source§impl Ord for usb_device_request_t
impl Ord for usb_device_request_t
source§fn cmp(&self, other: &usb_device_request_t) -> Ordering
fn cmp(&self, other: &usb_device_request_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for usb_device_request_t
impl PartialEq for usb_device_request_t
source§impl PartialOrd for usb_device_request_t
impl PartialOrd for usb_device_request_t
impl Copy for usb_device_request_t
impl Eq for usb_device_request_t
impl StructuralPartialEq for usb_device_request_t
Auto Trait Implementations§
impl Freeze for usb_device_request_t
impl RefUnwindSafe for usb_device_request_t
impl Send for usb_device_request_t
impl Sync for usb_device_request_t
impl Unpin for usb_device_request_t
impl UnwindSafe for usb_device_request_t
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§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
)