#[repr(C)]pub struct Device { /* private fields */ }
Expand description
USB is Device
Implementations§
Source§impl Device
impl Device
Sourcepub const fn device_endpoint(&self, n: usize) -> &DeviceEndpoint
pub const fn device_endpoint(&self, n: usize) -> &DeviceEndpoint
0x100..0x150 - DEVICE_ENDPOINT[%s]
Sourcepub fn device_endpoint_iter(&self) -> impl Iterator<Item = &DeviceEndpoint>
pub fn device_endpoint_iter(&self) -> impl Iterator<Item = &DeviceEndpoint>
Iterator for array of: 0x100..0x150 - DEVICE_ENDPOINT[%s]
Auto Trait Implementations§
impl !Freeze for Device
impl !RefUnwindSafe for Device
impl Send for Device
impl !Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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