Struct esp32c3_hal::peripherals::DS
source · pub struct DS { /* private fields */ }
Implementations§
source§impl DS
impl DS
sourcepub unsafe fn steal() -> DS
pub unsafe fn steal() -> DS
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 DS
impl Peripheral for DS
Auto Trait Implementations§
impl RefUnwindSafe for DS
impl Send for DS
impl Sync for DS
impl Unpin for DS
impl UnwindSafe for DS
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