Struct libusb1_sys::libusb_endpoint_descriptor
source · [−]#[repr(C)]pub struct libusb_endpoint_descriptor {
pub bLength: u8,
pub bDescriptorType: u8,
pub bEndpointAddress: u8,
pub bmAttributes: u8,
pub wMaxPacketSize: u16,
pub bInterval: u8,
pub bRefresh: u8,
pub bSynchAddress: u8,
pub extra: *const c_uchar,
pub extra_length: c_int,
}Fields
bLength: u8bDescriptorType: u8bEndpointAddress: u8bmAttributes: u8wMaxPacketSize: u16bInterval: u8bRefresh: u8bSynchAddress: u8extra: *const c_ucharextra_length: c_intAuto Trait Implementations
impl RefUnwindSafe for libusb_endpoint_descriptor
impl !Send for libusb_endpoint_descriptor
impl !Sync for libusb_endpoint_descriptor
impl Unpin for libusb_endpoint_descriptor
impl UnwindSafe for libusb_endpoint_descriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more