Struct block_aligner::scan_block::PaddedBytes [−][src]
pub struct PaddedBytes { /* fields omitted */ }Expand description
A padded string that helps avoid out of bounds access when using SIMD.
A single padding byte in inserted before the start of the string,
and block_size bytes are inserted after the end of the string.
Implementations
Create from a byte slice.
Make sure that block_size is greater than or equal to the upper bound
block size used in the Block::align function.
Create from the bytes in a string slice.
Make sure that block_size is greater than or equal to the upper bound
block size used in the Block::align function.
Create from the bytes in a string.
Make sure that block_size is greater than or equal to the upper bound
block size used in the Block::align function.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PaddedBytes
impl Send for PaddedBytes
impl Sync for PaddedBytes
impl Unpin for PaddedBytes
impl UnwindSafe for PaddedBytes
Blanket Implementations
Mutably borrows from an owned value. Read more