Struct r3_core::utils::AlignedStorage
source · #[repr(C)]pub struct AlignedStorage<const LEN: usize, const ALIGN: usize>(_, _)
where
Align<ALIGN>: Alignment;
Expand description
Untyped storage of the specified size and alignment.
This is analogous to C++’s std::aligned_storage_t
.
Trait Implementations§
source§impl<const LEN: usize, const ALIGN: usize> Clone for AlignedStorage<LEN, ALIGN>where
Align<ALIGN>: Alignment,
impl<const LEN: usize, const ALIGN: usize> Clone for AlignedStorage<LEN, ALIGN>where Align<ALIGN>: Alignment,
source§fn clone(&self) -> AlignedStorage<LEN, ALIGN>
fn clone(&self) -> AlignedStorage<LEN, ALIGN>
Returns a copy 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 more