#[repr(align(64))]pub struct Block<T, const BLOCK_SIZE: u64> { /* private fields */ }Expand description
A block that maps up to 12 input offsets within a range of S input offsets to T. The size and alignment of this struct is designed to fit into a typical cache line.
Trait Implementations§
Auto Trait Implementations§
impl<T, const BLOCK_SIZE: u64> Freeze for Block<T, BLOCK_SIZE>where
T: Freeze,
impl<T, const BLOCK_SIZE: u64> RefUnwindSafe for Block<T, BLOCK_SIZE>where
T: RefUnwindSafe,
impl<T, const BLOCK_SIZE: u64> Send for Block<T, BLOCK_SIZE>where
T: Send,
impl<T, const BLOCK_SIZE: u64> Sync for Block<T, BLOCK_SIZE>where
T: Sync,
impl<T, const BLOCK_SIZE: u64> Unpin for Block<T, BLOCK_SIZE>where
T: Unpin,
impl<T, const BLOCK_SIZE: u64> UnwindSafe for Block<T, BLOCK_SIZE>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