pub struct AlignedBytes<const B: usize, T> {
pub align: [T; 0],
pub bytes: [u8; B],
}Fields§
§align: [T; 0]§bytes: [u8; B]Auto Trait Implementations§
impl<const B: usize, T> Freeze for AlignedBytes<B, T>where
T: Freeze,
impl<const B: usize, T> RefUnwindSafe for AlignedBytes<B, T>where
T: RefUnwindSafe,
impl<const B: usize, T> Send for AlignedBytes<B, T>where
T: Send,
impl<const B: usize, T> Sync for AlignedBytes<B, T>where
T: Sync,
impl<const B: usize, T> Unpin for AlignedBytes<B, T>where
T: Unpin,
impl<const B: usize, T> UnwindSafe for AlignedBytes<B, T>where
T: UnwindSafe,
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