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§
impl<const N: usize, const M: usize, T: Copy + Copy> Copy for BucketArrayMemory<N, M, T>
Source§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.
Auto Trait Implementations§
impl<const N: usize, const M: usize, T> Freeze for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T> RefUnwindSafe for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T> Send for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T> Sync for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T> Unpin for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T> UnsafeUnpin for BucketArrayMemory<N, M, T>
impl<const N: usize, const M: usize, T> UnwindSafe for BucketArrayMemory<N, M, T>
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