pub struct HramArea<const N: usize>(/* private fields */);Expand description
A raw, fixed-size region of High RAM, addressed through pointers.
The home for a routine that must execute from HRAM (an OAM DMA trampoline) or
a scratch buffer. Declare it with hram!. HRAM is NOLOAD, so the runtime
zero-initialises it at startup; fill it at runtime.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> !Freeze for HramArea<N>
impl<const N: usize> !RefUnwindSafe for HramArea<N>
impl<const N: usize> BankSafe for HramArea<N>
impl<const N: usize> Send for HramArea<N>
impl<const N: usize> Unpin for HramArea<N>
impl<const N: usize> UnsafeUnpin for HramArea<N>
impl<const N: usize> UnwindSafe for HramArea<N>
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