#[repr(align(32))]pub struct AlignedBuffer<const N: usize>(pub [u8; N]);
Expand description
Buffer aligned to 32 byte boundary, largest known alignment requirement for embassy-boot.
Tuple Fields§
§0: [u8; N]
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for AlignedBuffer<N>
impl<const N: usize> RefUnwindSafe for AlignedBuffer<N>
impl<const N: usize> Send for AlignedBuffer<N>
impl<const N: usize> Sync for AlignedBuffer<N>
impl<const N: usize> Unpin for AlignedBuffer<N>
impl<const N: usize> UnwindSafe for AlignedBuffer<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