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