Struct capsules_extra::usb::descriptors::DescriptorBuffer
source · pub struct DescriptorBuffer {
pub buf: [Cell<u8>; 128],
pub len: usize,
}
Expand description
Buffer for holding the configuration, interface(s), and endpoint(s) descriptors. Also includes class-specific functional descriptors.
Fields§
§buf: [Cell<u8>; 128]
§len: usize
Implementations§
Auto Trait Implementations§
impl !Freeze for DescriptorBuffer
impl !RefUnwindSafe for DescriptorBuffer
impl Send for DescriptorBuffer
impl !Sync for DescriptorBuffer
impl Unpin for DescriptorBuffer
impl UnwindSafe for DescriptorBuffer
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