pub struct BucketArrayMemory<const N: usize, const M: usize, T: Copy>([[MaybeUninit<T>; M]; N]);
Expand description
Tuple Fields§
§0: [[MaybeUninit<T>; M]; N]
Trait Implementations§
Source§impl<const N: usize, const M: usize, T: Clone + Copy> Clone for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T: Clone + Copy> Clone for BucketArrayMemory<N, M, T>
Source§fn clone(&self) -> BucketArrayMemory<N, M, T>
fn clone(&self) -> BucketArrayMemory<N, M, T>
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 moreSource§impl<const N: usize, const M: usize, T: Copy> Uninit for BucketArrayMemory<N, M, T>
Implements the Uninit
trait. This memory is always assumed to be
uninitialized unless we hold a mutable reference paired with bucket
usage information.
impl<const N: usize, const M: usize, T: Copy> Uninit for BucketArrayMemory<N, M, T>
Implements the Uninit
trait. This memory is always assumed to be
uninitialized unless we hold a mutable reference paired with bucket
usage information.
SAFETY: We can implement Uninit
for BucketArrayMemory
because it’s Copy
and it contains only MaybeUninit
bits.
impl<const N: usize, const M: usize, T: Copy + Copy> Copy for BucketArrayMemory<N, M, T>
Auto Trait Implementations§
impl<const N: usize, const M: usize, T> Freeze for BucketArrayMemory<N, M, T>where
T: Freeze,
impl<const N: usize, const M: usize, T> RefUnwindSafe for BucketArrayMemory<N, M, T>where
T: RefUnwindSafe,
impl<const N: usize, const M: usize, T> Send for BucketArrayMemory<N, M, T>where
T: Send,
impl<const N: usize, const M: usize, T> Sync for BucketArrayMemory<N, M, T>where
T: Sync,
impl<const N: usize, const M: usize, T> Unpin for BucketArrayMemory<N, M, T>where
T: Unpin,
impl<const N: usize, const M: usize, T> UnwindSafe for BucketArrayMemory<N, M, 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