[][src]Struct slipstream::vector::Packed4

#[repr(C, align(4))]pub struct Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
{ /* fields omitted */ }

A packed vector.

See the module documentation and the Vector trait for details.

Trait Implementations

impl<B, S> Add<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Add<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the + operator.

impl<B, S> AddAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + AddAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> AsMut<[B]> for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> AsRef<[B]> for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> BitAnd<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + BitAnd<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the & operator.

impl<B, S> BitAndAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + BitAndAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> BitOr<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + BitOr<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the | operator.

impl<B, S> BitOrAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + BitOrAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> BitXor<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + BitXor<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the ^ operator.

impl<B, S> BitXorAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + BitXorAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: Clone, S: Clone> Clone for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: Copy, S: Copy> Copy for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: Debug, S: Debug> Debug for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: Default, S: Default> Default for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Deref for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Target = [B]

The resulting type after dereferencing.

impl<B, S> DerefMut for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Div<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Div<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the / operator.

impl<B, S> DivAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + DivAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: Eq, S: Eq> Eq for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Index<usize> for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = B

The returned type after indexing.

impl<B, S> IndexMut<usize> for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Mul<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Mul<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the * operator.

impl<B, S> MulAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + MulAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Neg for Packed4<B, S> where
    B: Repr + Neg<Output = B> + Copy,
    S: Unsigned + ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the - operator.

impl<B, S> Not for Packed4<B, S> where
    B: Repr + Not<Output = B> + Copy,
    S: Unsigned + ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the ! operator.

impl<B: Ord, S: Ord> Ord for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: PartialEq, S: PartialEq> PartialEq<Packed4<B, S>> for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B: PartialOrd, S: PartialOrd> PartialOrd<Packed4<B, S>> for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Product<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + MulAssign,
    S: ArrayLength<B>,
    S::ArrayType: Copy,
    Self: Vector<Base = B, Lanes = S>,
    Self::Mask: AsRef<[B::Mask]>, 
[src]

impl<B, S> Rem<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Rem<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the % operator.

impl<B, S> RemAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + RemAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Shl<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Shl<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the << operator.

impl<B, S> ShlAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + ShlAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Shr<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Shr<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the >> operator.

impl<B, S> ShrAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + ShrAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> StructuralEq for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> StructuralPartialEq for Packed4<B, S> where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Sub<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + Sub<Output = B> + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Output = Self

The resulting type after applying the - operator.

impl<B, S> SubAssign<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + SubAssign + Copy,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

impl<B, S> Sum<Packed4<B, S>> for Packed4<B, S> where
    B: Repr + AddAssign,
    S: ArrayLength<B>,
    S::ArrayType: Copy,
    Self: Default
[src]

impl<B, S> Vector for Packed4<B, S> where
    B: Repr + 'static,
    S: ArrayLength<B> + ArrayLength<B::Mask> + 'static,
    <S as ArrayLength<B>>::ArrayType: Copy,
    <S as ArrayLength<B::Mask>>::ArrayType: Copy
[src]

type Base = B

Type of one lane of the vector. Read more

type Lanes = S

A type-level integer specifying the length of the vector. Read more

type Mask = Packed4<B::Mask, S>

The mask type for this vector. Read more

impl<'a, B, S> Vectorizable<&'a mut Packed4<B, S>> for &'a mut [Packed4<B, S>] where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Padding = ()

The input type provided by user to fill in the padding/uneven end. Read more

type Vectorizer = &'a mut [Packed4<B, S>]

An internal type managing the splitting into vectors. Read more

impl<'a, B, S> Vectorizable<Packed4<B, S>> for &'a [Packed4<B, S>] where
    B: Repr,
    S: ArrayLength<B>,
    S::ArrayType: Copy
[src]

type Padding = ()

The input type provided by user to fill in the padding/uneven end. Read more

type Vectorizer = &'a [Packed4<B, S>]

An internal type managing the splitting into vectors. Read more

Auto Trait Implementations

impl<B, S> Send for Packed4<B, S>

impl<B, S> Sync for Packed4<B, S>

impl<B, S> Unpin for Packed4<B, S> where
    <S as ArrayLength<B>>::ArrayType: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.