#[repr(C)]pub struct usbdevfs_urb {Show 15 fields
pub type_: c_uchar,
pub endpoint: c_uchar,
pub __bindgen_padding_0: [u8; 2],
pub status: c_int,
pub flags: c_uint,
pub __bindgen_padding_1: [u8; 4],
pub buffer: uaddr,
pub buffer_length: c_int,
pub actual_length: c_int,
pub start_frame: c_int,
pub __bindgen_anon_1: usbdevfs_urb__bindgen_ty_1,
pub error_count: c_int,
pub signr: c_uint,
pub usercontext: uaddr,
pub iso_frame_desc: __IncompleteArrayField<usbdevfs_iso_packet_desc>,
}Fields§
§type_: c_uchar§endpoint: c_uchar§__bindgen_padding_0: [u8; 2]§status: c_int§flags: c_uint§__bindgen_padding_1: [u8; 4]§buffer: uaddr§buffer_length: c_int§actual_length: c_int§start_frame: c_int§__bindgen_anon_1: usbdevfs_urb__bindgen_ty_1§error_count: c_int§signr: c_uint§usercontext: uaddr§iso_frame_desc: __IncompleteArrayField<usbdevfs_iso_packet_desc>Trait Implementations§
Auto Trait Implementations§
impl Freeze for usbdevfs_urb
impl RefUnwindSafe for usbdevfs_urb
impl Send for usbdevfs_urb
impl Sync for usbdevfs_urb
impl Unpin for usbdevfs_urb
impl UnsafeUnpin for usbdevfs_urb
impl UnwindSafe for usbdevfs_urb
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