Trait vectoreyes::SimdBase8
source · [−]pub trait SimdBase8: SimdBasewhere
Self::Scalar: Scalar<Unsigned = u8, Signed = i8>,{
fn shift_bytes_left<const AMOUNT: usize>(&self) -> Self;
fn shift_bytes_right<const AMOUNT: usize>(&self) -> Self;
fn most_significant_bits(&self) -> u32;
}
Expand description
A vector containing 8-bit values.
Required Methods
sourcefn shift_bytes_left<const AMOUNT: usize>(&self) -> Self
fn shift_bytes_left<const AMOUNT: usize>(&self) -> Self
Shift within 128-bit lanes.
sourcefn shift_bytes_right<const AMOUNT: usize>(&self) -> Self
fn shift_bytes_right<const AMOUNT: usize>(&self) -> Self
Shift within 128-bit lanes.
sourcefn most_significant_bits(&self) -> u32
fn most_significant_bits(&self) -> u32
Get the sign/most significant bits of the elements of the vector.