#[repr(align(32))]pub struct Aligned32<T: ?Sized>(pub T);
Expand description
Align data to a 32 byte boundary
Tuple Fields§
§0: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Aligned32<T>
impl<T> RefUnwindSafe for Aligned32<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Aligned32<T>
impl<T> Sync for Aligned32<T>
impl<T> Unpin for Aligned32<T>
impl<T> UnwindSafe for Aligned32<T>where
T: UnwindSafe + ?Sized,
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