Struct MEM2MEM7
#[non_exhaustive]pub struct MEM2MEM7<'a> { /* private fields */ }Available on crate features
unstable only.Expand description
MEM2MEM7 peripheral singleton
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Implementations§
§impl MEM2MEM7<'_>
impl MEM2MEM7<'_>
pub unsafe fn steal() -> MEM2MEM7<'_>
pub unsafe fn steal() -> MEM2MEM7<'_>
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.
pub unsafe fn clone_unchecked(&self) -> MEM2MEM7<'_>
pub unsafe fn clone_unchecked(&self) -> MEM2MEM7<'_>
Unsafely clone this peripheral reference.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for MEM2MEM7<'a>
impl<'a> Freeze for MEM2MEM7<'a>
impl<'a> RefUnwindSafe for MEM2MEM7<'a>
impl<'a> Send for MEM2MEM7<'a>
impl<'a> Sync for MEM2MEM7<'a>
impl<'a> Unpin for MEM2MEM7<'a>
impl<'a> UnsafeUnpin for MEM2MEM7<'a>
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