#[repr(align(4))]pub struct Align4<const N: usize>(/* private fields */);Expand description
A statically sized buffer aligned to 4 bytes.
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for Align4<N>
impl<const N: usize> RefUnwindSafe for Align4<N>
impl<const N: usize> Send for Align4<N>
impl<const N: usize> Sync for Align4<N>
impl<const N: usize> Unpin for Align4<N>
impl<const N: usize> UnwindSafe for Align4<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