Struct scratchpad::CacheAligned
[−]
[src]
pub struct CacheAligned(pub [u8; 64]);
Cache-aligned storage for Buffer
and Tracking
use.
Internally, this simply wraps a u8
array to ensure cache alignment.
Arrays and slices of this type can be used directly for either
Scratchpad
storage or marker tracking.
The alignment and size of CacheAligned
are determined by the
CACHE_ALIGNMENT
constant.
Trait Implementations
impl ByteData for CacheAligned
[src]
impl Clone for CacheAligned
[src]
fn clone(&self) -> CacheAligned
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more