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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CacheAligned
[src]

impl Debug for CacheAligned
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CacheAligned

impl Sync for CacheAligned