Struct vector_signed_int

#[repr(simd)]
pub struct vector_signed_int(pub(in ::core_arch::powerpc::altivec) [i32; 4]);

PowerPC-specific 128-bit wide vector of four packed i32

Fields

0: [i32; 4]

Implementations

impl vector_signed_int

fn splat(value: i32) -> vector_signed_int

Put the same value in every lane.

const fn as_array(&self) -> &[i32; 4]

Returns an array reference containing the entire SIMD vector.

fn as_mut_array(&mut self) -> &mut [i32; 4]

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for vector_signed_int

fn clone(&self) -> vector_signed_int

impl Copy for vector_signed_int

impl Debug for vector_signed_int

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

impl From<Simd<i32, 4>> for vector_signed_int

fn from(simd: Simd<i32, 4>) -> Self

impl TrivialClone for vector_signed_int

impl VectorAbs for vector_signed_int

unsafe fn vec_abs(self) -> Self

impl VectorAbss for vector_signed_int

unsafe fn vec_abss(self) -> Self

impl VectorAdd<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_add(self, other: vector_bool_int) -> Self::Result

impl VectorAdd<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_add(self, other: vector_signed_int) -> Self::Result

impl VectorAdde for vector_signed_int

unsafe fn vec_adde(self, b: Self, c: Self) -> Self

impl VectorAdds<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_adds(self, b: vector_bool_int) -> Self::Result

impl VectorAdds<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_adds(self, b: vector_signed_int) -> Self::Result

impl VectorAllEq<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_all_eq(self, b: vector_signed_int) -> Self::Result

impl VectorAllGe<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_all_ge(self, b: vector_signed_int) -> Self::Result

impl VectorAllGt<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_all_gt(self, b: vector_signed_int) -> Self::Result

impl VectorAllNe<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_all_ne(self, b: vector_signed_int) -> Self::Result

impl VectorAnd<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_and(self, b: vector_bool_int) -> Self::Result

impl VectorAnd<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_and(self, b: vector_signed_int) -> Self::Result

impl VectorAndc<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_andc(self, b: vector_signed_int) -> Self::Result

impl VectorAnyEq<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_any_eq(self, b: vector_signed_int) -> Self::Result

impl VectorAnyGe<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_any_ge(self, b: vector_signed_int) -> Self::Result

impl VectorAnyGt<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_any_gt(self, b: vector_signed_int) -> Self::Result

impl VectorAnyNe<vector_signed_int> for vector_signed_int

type Result = bool;
unsafe fn vec_any_ne(self, b: vector_signed_int) -> Self::Result

impl VectorAvg<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_avg(self, b: vector_signed_int) -> Self::Result

impl VectorCmpEq<vector_signed_int> for vector_signed_int

type Result = vector_bool_int;
unsafe fn vec_cmpeq(self, b: vector_signed_int) -> Self::Result

impl VectorCmpGt<vector_signed_int> for vector_signed_int

type Result = vector_bool_int;
unsafe fn vec_cmpgt(self, b: vector_signed_int) -> Self::Result

impl VectorCmpNe<vector_signed_int> for vector_signed_int

type Result = vector_bool_int;
unsafe fn vec_cmpne(self, b: vector_signed_int) -> Self::Result

impl VectorCntlz for vector_signed_int

unsafe fn vec_cntlz(self) -> Self

impl VectorCtf for vector_signed_int

unsafe fn vec_ctf<const IMM5: i32>(self) -> vector_float

impl VectorExtract for vector_signed_int

type Scalar = i32;
unsafe fn vec_extract<const IDX: u32>(self) -> Self::Scalar

impl VectorInsert for vector_signed_int

type Scalar = i32;
unsafe fn vec_insert<const IDX: u32>(self, s: Self::Scalar) -> Self

impl VectorMax<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_max(self, b: vector_bool_int) -> Self::Result

impl VectorMax<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_max(self, b: vector_signed_int) -> Self::Result

impl VectorMergeEo for vector_signed_int

unsafe fn vec_mergee(self, b: Self) -> Self
unsafe fn vec_mergeo(self, b: Self) -> Self

impl VectorMergeh<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_mergeh(self, b: vector_signed_int) -> Self::Result

impl VectorMergel<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_mergel(self, b: vector_signed_int) -> Self::Result

impl VectorMin<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_min(self, b: vector_bool_int) -> Self::Result

impl VectorMin<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_min(self, b: vector_signed_int) -> Self::Result

impl VectorMul for vector_signed_int

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

impl VectorNand<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_nand(self, b: vector_signed_int) -> Self::Result

impl VectorNeg for vector_signed_int

unsafe fn vec_neg(self) -> Self

impl VectorNor<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_nor(self, b: vector_signed_int) -> Self::Result

impl VectorOr<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_or(self, b: vector_bool_int) -> Self::Result

impl VectorOr<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_or(self, b: vector_signed_int) -> Self::Result

impl VectorOrc<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_orc(self, b: vector_signed_int) -> Self::Result

impl VectorPack<vector_signed_int> for vector_signed_int

type Result = vector_signed_short;
unsafe fn vec_pack(self, b: vector_signed_int) -> Self::Result

impl VectorPacks<vector_signed_int> for vector_signed_int

type Result = vector_signed_short;
unsafe fn vec_packs(self, b: vector_signed_int) -> Self::Result

impl VectorPacksu<vector_signed_int> for vector_signed_int

type Result = vector_unsigned_short;
unsafe fn vec_packsu(self, b: vector_signed_int) -> Self::Result

impl VectorPerm for vector_signed_int

unsafe fn vec_vperm(self, b: Self, c: vector_unsigned_char) -> Self

impl VectorRl for vector_signed_int

type Shift = vector_unsigned_int;
unsafe fn vec_rl(self, b: Self::Shift) -> Self

impl VectorSel<vector_bool_int> for vector_signed_int

unsafe fn vec_sel(self, b: Self, c: vector_bool_int) -> Self

impl VectorSel<vector_unsigned_int> for vector_signed_int

unsafe fn vec_sel(self, b: Self, c: vector_unsigned_int) -> Self

impl VectorSl<vector_unsigned_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sl(self, b: vector_unsigned_int) -> Self::Result

impl VectorSld for vector_signed_int

unsafe fn vec_sld<const UIMM4: i32>(self, b: Self) -> Self
unsafe fn vec_sldw<const UIMM2: i32>(self, b: Self) -> Self

impl VectorSll<vector_unsigned_char> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sll(self, b: vector_unsigned_char) -> Self::Result

impl VectorSlo<vector_signed_char> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_slo(self, b: vector_signed_char) -> Self::Result

impl VectorSlo<vector_unsigned_char> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_slo(self, b: vector_unsigned_char) -> Self::Result

impl VectorSplat for vector_signed_int

unsafe fn vec_splat<const IMM: u32>(self) -> Self

impl VectorSr<vector_unsigned_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sr(self, b: vector_unsigned_int) -> Self::Result

impl VectorSra<vector_unsigned_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sra(self, b: vector_unsigned_int) -> Self::Result

impl VectorSrl<vector_unsigned_char> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_srl(self, b: vector_unsigned_char) -> Self::Result

impl VectorSro<vector_signed_char> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sro(self, b: vector_signed_char) -> Self::Result

impl VectorSro<vector_unsigned_char> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sro(self, b: vector_unsigned_char) -> Self::Result

impl VectorSt for vector_signed_int

type Target = *const i32;
unsafe fn vec_st(self, off: isize, p: Self::Target)
unsafe fn vec_stl(self, off: isize, p: Self::Target)

impl VectorSte for vector_signed_int

type Target = *const i32;
unsafe fn vec_ste(self, off: isize, p: Self::Target)

impl VectorSub<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sub(self, b: vector_bool_int) -> Self::Result

impl VectorSub<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_sub(self, b: vector_signed_int) -> Self::Result

impl VectorSubc<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_subc(self, b: vector_signed_int) -> Self::Result

impl VectorSubs<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_subs(self, b: vector_bool_int) -> Self::Result

impl VectorSubs<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_subs(self, b: vector_signed_int) -> Self::Result

impl VectorXor<vector_bool_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_xor(self, b: vector_bool_int) -> Self::Result

impl VectorXor<vector_signed_int> for vector_signed_int

type Result = vector_signed_int;
unsafe fn vec_xor(self, b: vector_signed_int) -> Self::Result

impl VectorXst for vector_signed_int

type Out = *mut i32;
unsafe fn vec_xst(self, a: isize, b: Self::Out)

impl VectorXstores for vector_signed_int

type Out = *mut i32;
unsafe fn vec_xst_len(self, a: Self::Out, l: usize)

Auto Trait Implementations

impl Freeze for vector_signed_int

impl RefUnwindSafe for vector_signed_int

impl Send for vector_signed_int

impl Sync for vector_signed_int

impl Unpin for vector_signed_int

impl UnsafeUnpin for vector_signed_int

impl UnwindSafe for vector_signed_int

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for vector_signed_int

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Printable for vector_signed_int where T: Copy + Debug,

impl<T> SizeHint for vector_signed_int where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for vector_signed_int

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

fn into(self) -> U

Calls U::from(self).

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

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

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

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

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