Struct capsules_extra::usb::descriptors::EndpointDescriptor
source · pub struct EndpointDescriptor {
pub endpoint_address: EndpointAddress,
pub transfer_type: TransferType,
pub max_packet_size: u16,
pub interval: u8,
}
Fields§
§endpoint_address: EndpointAddress
§transfer_type: TransferType
§max_packet_size: u16
§interval: u8
Trait Implementations§
source§impl Descriptor for EndpointDescriptor
impl Descriptor for EndpointDescriptor
Auto Trait Implementations§
impl Freeze for EndpointDescriptor
impl RefUnwindSafe for EndpointDescriptor
impl Send for EndpointDescriptor
impl Sync for EndpointDescriptor
impl Unpin for EndpointDescriptor
impl UnwindSafe for EndpointDescriptor
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