Skip to main content

SimdU8Value

Struct SimdU8Value 

Source
pub(crate) struct SimdU8Value<T>(pub(crate) T)
where
    T: Copy;

Tuple Fields§

§0: T

Implementations§

Source§

impl SimdU8Value<__m256i>

Source

unsafe fn from_32_cut_off_leading( v0: u8, v1: u8, v2: u8, v3: u8, v4: u8, v5: u8, v6: u8, v7: u8, v8: u8, v9: u8, v10: u8, v11: u8, v12: u8, v13: u8, v14: u8, v15: u8, v16: u8, v17: u8, v18: u8, v19: u8, v20: u8, v21: u8, v22: u8, v23: u8, v24: u8, v25: u8, v26: u8, v27: u8, v28: u8, v29: u8, v30: u8, v31: u8, ) -> Self

Source

unsafe fn repeat_16( v0: u8, v1: u8, v2: u8, v3: u8, v4: u8, v5: u8, v6: u8, v7: u8, v8: u8, v9: u8, v10: u8, v11: u8, v12: u8, v13: u8, v14: u8, v15: u8, ) -> Self

Source

unsafe fn load_from(ptr: *const u8) -> Self

Source

unsafe fn lookup_16( self, v0: u8, v1: u8, v2: u8, v3: u8, v4: u8, v5: u8, v6: u8, v7: u8, v8: u8, v9: u8, v10: u8, v11: u8, v12: u8, v13: u8, v14: u8, v15: u8, ) -> Self

Source

unsafe fn splat(val: u8) -> Self

Source

unsafe fn splat0() -> Self

Source

unsafe fn or(self, b: Self) -> Self

Source

unsafe fn and(self, b: Self) -> Self

Source

unsafe fn xor(self, b: Self) -> Self

Source

unsafe fn saturating_sub(self, b: Self) -> Self

Source

unsafe fn shr4(self) -> Self

Source

unsafe fn prev1(self, prev: Self) -> Self

Source

unsafe fn prev2(self, prev: Self) -> Self

Source

unsafe fn prev3(self, prev: Self) -> Self

Source

unsafe fn signed_gt(self, other: Self) -> Self

Source

unsafe fn any_bit_set(self) -> bool

Source

unsafe fn is_ascii(self) -> bool

Source§

impl SimdU8Value<__m128i>

Source

unsafe fn from_32_cut_off_leading( _v0: u8, _v1: u8, _v2: u8, _v3: u8, _v4: u8, _v5: u8, _v6: u8, _v7: u8, _v8: u8, _v9: u8, _v10: u8, _v11: u8, _v12: u8, _v13: u8, _v14: u8, _v15: u8, v16: u8, v17: u8, v18: u8, v19: u8, v20: u8, v21: u8, v22: u8, v23: u8, v24: u8, v25: u8, v26: u8, v27: u8, v28: u8, v29: u8, v30: u8, v31: u8, ) -> Self

Source

unsafe fn repeat_16( v0: u8, v1: u8, v2: u8, v3: u8, v4: u8, v5: u8, v6: u8, v7: u8, v8: u8, v9: u8, v10: u8, v11: u8, v12: u8, v13: u8, v14: u8, v15: u8, ) -> Self

Source

unsafe fn load_from(ptr: *const u8) -> Self

Source

unsafe fn lookup_16( self, v0: u8, v1: u8, v2: u8, v3: u8, v4: u8, v5: u8, v6: u8, v7: u8, v8: u8, v9: u8, v10: u8, v11: u8, v12: u8, v13: u8, v14: u8, v15: u8, ) -> Self

Source

unsafe fn splat(val: u8) -> Self

Source

unsafe fn splat0() -> Self

Source

unsafe fn or(self, b: Self) -> Self

Source

unsafe fn and(self, b: Self) -> Self

Source

unsafe fn xor(self, b: Self) -> Self

Source

unsafe fn saturating_sub(self, b: Self) -> Self

Source

unsafe fn shr4(self) -> Self

Source

unsafe fn prev1(self, prev: Self) -> Self

Source

unsafe fn prev2(self, prev: Self) -> Self

Source

unsafe fn prev3(self, prev: Self) -> Self

Source

unsafe fn signed_gt(self, other: Self) -> Self

Source

unsafe fn any_bit_set(self) -> bool

Source

unsafe fn is_ascii(self) -> bool

Trait Implementations§

Source§

impl<T> Clone for SimdU8Value<T>
where T: Copy + Clone,

Source§

fn clone(&self) -> SimdU8Value<T>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl From<__m128i> for SimdU8Value<__m128i>

Source§

fn from(val: __m128i) -> Self

Converts to this type from the input type.
Source§

impl From<__m256i> for SimdU8Value<__m256i>

Source§

fn from(val: __m256i) -> Self

Converts to this type from the input type.
Source§

impl<T> Copy for SimdU8Value<T>
where T: Copy + Copy,

Auto Trait Implementations§

§

impl<T> Freeze for SimdU8Value<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for SimdU8Value<T>
where T: RefUnwindSafe,

§

impl<T> Send for SimdU8Value<T>
where T: Send,

§

impl<T> Sync for SimdU8Value<T>
where T: Sync,

§

impl<T> Unpin for SimdU8Value<T>
where T: Unpin,

§

impl<T> UnsafeUnpin for SimdU8Value<T>
where T: UnsafeUnpin,

§

impl<T> UnwindSafe for SimdU8Value<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.