pub struct AlignedArray<const B: usize, T, DATA> {
pub bytes: DATA,
/* private fields */
}Fields§
§bytes: DATAImplementations§
Trait Implementations§
Source§impl<const B: usize, T: Clone, DATA: Clone> Clone for AlignedArray<B, T, DATA>
impl<const B: usize, T: Clone, DATA: Clone> Clone for AlignedArray<B, T, DATA>
Source§fn clone(&self) -> AlignedArray<B, T, DATA>
fn clone(&self) -> AlignedArray<B, T, DATA>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<const B: usize, T: Copy, DATA: Copy> Copy for AlignedArray<B, T, DATA>
Auto Trait Implementations§
impl<const B: usize, T, DATA> Freeze for AlignedArray<B, T, DATA>where
DATA: Freeze,
impl<const B: usize, T, DATA> RefUnwindSafe for AlignedArray<B, T, DATA>where
DATA: RefUnwindSafe,
T: RefUnwindSafe,
impl<const B: usize, T, DATA> Send for AlignedArray<B, T, DATA>
impl<const B: usize, T, DATA> Sync for AlignedArray<B, T, DATA>
impl<const B: usize, T, DATA> Unpin for AlignedArray<B, T, DATA>
impl<const B: usize, T, DATA> UnwindSafe for AlignedArray<B, T, DATA>where
DATA: UnwindSafe,
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