Struct simics_api_sys::bindings::usb_transfer_t
source · #[repr(C)]pub struct usb_transfer_t {
pub function_address: uint8,
pub endpoint_number: uint8,
pub type_: usb_type_t,
pub u: usb_transfer_t__bindgen_ty_1,
pub direction: usb_direction_t,
pub size: c_int,
pub buf: *mut dbuffer_t,
pub status: usb_status_t,
}
Fields§
§function_address: uint8
Endpoint/function specific information
endpoint_number: uint8
§type_: usb_type_t
Type specific information
u: usb_transfer_t__bindgen_ty_1
§direction: usb_direction_t
Data specific
size: c_int
§buf: *mut dbuffer_t
§status: usb_status_t
Status
Trait Implementations§
source§impl Clone for usb_transfer_t
impl Clone for usb_transfer_t
source§fn clone(&self) -> usb_transfer_t
fn clone(&self) -> usb_transfer_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 Default for usb_transfer_t
impl Default for usb_transfer_t
impl Copy for usb_transfer_t
Auto Trait Implementations§
impl Freeze for usb_transfer_t
impl RefUnwindSafe for usb_transfer_t
impl !Send for usb_transfer_t
impl !Sync for usb_transfer_t
impl Unpin for usb_transfer_t
impl UnwindSafe for usb_transfer_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
)