Struct u8x64

Source
#[repr(C, align(64))]
pub struct u8x64<S: Simd> { pub val: [u8; 64], pub simd: S, }

Fields§

§val: [u8; 64]§simd: S

Implementations§

Source§

impl<S: Simd> u8x64<S>

Source

pub fn not(self) -> u8x64<S>

Source

pub fn add(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn sub(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn mul(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn and(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn or(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn xor(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn shr(self, shift: u32) -> u8x64<S>

Source

pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source

pub fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source

pub fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source

pub fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source

pub fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source

pub fn min(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn max(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source

pub fn reinterpret_u32(self) -> u32x16<S>

Trait Implementations§

Source§

impl<S: Simd> Add<u8> for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Add<u8x64<S>> for u8

Source§

type Output = u8x64<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8x64<S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> Add for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<S: Simd> BitAnd<u8> for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u8) -> Self::Output

Performs the & operation. Read more
Source§

impl<S: Simd> BitAnd<u8x64<S>> for u8

Source§

type Output = u8x64<S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u8x64<S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<S: Simd> BitAnd for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl<S: Simd> BitOr<u8> for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u8) -> Self::Output

Performs the | operation. Read more
Source§

impl<S: Simd> BitOr<u8x64<S>> for u8

Source§

type Output = u8x64<S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u8x64<S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<S: Simd> BitOr for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl<S: Simd> BitXor<u8> for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<S: Simd> BitXor<u8x64<S>> for u8

Source§

type Output = u8x64<S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u8x64<S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<S: Simd> BitXor for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<S: Simd> Bytes for u8x64<S>

Source§

type Bytes = u8x64<S>

Source§

fn to_bytes(self) -> Self::Bytes

Source§

fn from_bytes(value: Self::Bytes) -> Self

Source§

fn bitcast<U: Bytes<Bytes = Self::Bytes>>(self) -> U

Source§

impl<S: Clone + Simd> Clone for u8x64<S>

Source§

fn clone(&self) -> u8x64<S>

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<S: Debug + Simd> Debug for u8x64<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: Simd> Deref for u8x64<S>

Source§

type Target = [u8; 64]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<S: Simd> DerefMut for u8x64<S>

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl<S: Simd> From<u8x64<S>> for [u8; 64]

Source§

fn from(value: u8x64<S>) -> Self

Converts to this type from the input type.
Source§

impl<S: Simd> Mul<u8> for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Mul<u8x64<S>> for u8

Source§

type Output = u8x64<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8x64<S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Mul for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl<S: Simd> Select<u8x64<S>> for mask8x64<S>

Source§

fn select(self, if_true: u8x64<S>, if_false: u8x64<S>) -> u8x64<S>

Source§

impl<S: Simd> SimdBase<u8, S> for u8x64<S>

Source§

const N: usize = 64usize

Source§

type Mask = mask8x64<S>

A SIMD vector mask with the same number of elements. Read more
Source§

type Block = u8x16<S>

A 128 bit SIMD vector of the same scalar type.
Source§

fn as_slice(&self) -> &[u8]

Source§

fn as_mut_slice(&mut self) -> &mut [u8]

Source§

fn from_slice(simd: S, slice: &[u8]) -> Self

Create a SIMD vector from a slice. Read more
Source§

fn splat(simd: S, val: u8) -> Self

Source§

fn block_splat(block: Self::Block) -> Self

Source§

impl<S: Simd> SimdFrom<[u8; 64], S> for u8x64<S>

Source§

fn simd_from(val: [u8; 64], simd: S) -> Self

Source§

impl<S: Simd> SimdFrom<u8, S> for u8x64<S>

Source§

fn simd_from(value: u8, simd: S) -> Self

Source§

impl<S: Simd> SimdInt<u8, S> for u8x64<S>

Source§

fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source§

fn simd_lt(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source§

fn simd_le(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source§

fn simd_ge(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source§

fn simd_gt(self, rhs: impl SimdInto<Self, S>) -> mask8x64<S>

Source§

fn zip_low(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source§

fn zip_high(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source§

fn unzip_low(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source§

fn unzip_high(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source§

fn min(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source§

fn max(self, rhs: impl SimdInto<Self, S>) -> u8x64<S>

Source§

fn to_float<T: SimdCvtFloat<Self>>(self) -> T

Source§

impl<S: Simd> Sub<u8> for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Simd> Sub<u8x64<S>> for u8

Source§

type Output = u8x64<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8x64<S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Simd> Sub for u8x64<S>

Source§

type Output = u8x64<S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<S: Copy + Simd> Copy for u8x64<S>

Auto Trait Implementations§

§

impl<S> Freeze for u8x64<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for u8x64<S>
where S: RefUnwindSafe,

§

impl<S> Send for u8x64<S>

§

impl<S> Sync for u8x64<S>

§

impl<S> Unpin for u8x64<S>
where S: Unpin,

§

impl<S> UnwindSafe for u8x64<S>
where S: 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.