Struct MEM2MEM5
#[non_exhaustive]pub struct MEM2MEM5<'a> { /* private fields */ }Available on crate features
unstable only.Expand description
MEM2MEM5 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 MEM2MEM5<'_>
impl MEM2MEM5<'_>
pub unsafe fn steal() -> MEM2MEM5<'_>
pub unsafe fn steal() -> MEM2MEM5<'_>
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) -> MEM2MEM5<'_>
pub unsafe fn clone_unchecked(&self) -> MEM2MEM5<'_>
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> Freeze for MEM2MEM5<'a>
impl<'a> RefUnwindSafe for MEM2MEM5<'a>
impl<'a> Send for MEM2MEM5<'a>
impl<'a> Sync for MEM2MEM5<'a>
impl<'a> Unpin for MEM2MEM5<'a>
impl<'a> !UnwindSafe for MEM2MEM5<'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