Struct esp32s2_hal::peripherals::USB0
source · pub struct USB0 { /* private fields */ }
Implementations§
source§impl USB0
impl USB0
sourcepub unsafe fn steal() -> USB0
pub unsafe fn steal() -> USB0
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
source§impl Peripheral for USB0
impl Peripheral for USB0
Auto Trait Implementations§
impl RefUnwindSafe for USB0
impl Send for USB0
impl Sync for USB0
impl Unpin for USB0
impl UnwindSafe for USB0
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