Struct vector_float

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

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

Fields

0: [f32; 4]

Implementations

impl vector_float

fn splat(value: f32) -> vector_float

Put the same value in every lane.

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

Returns an array reference containing the entire SIMD vector.

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

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for vector_float

fn clone(&self) -> vector_float

impl Copy for vector_float

impl Debug for vector_float

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

impl From<Simd<f32, 4>> for vector_float

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

impl TrivialClone for vector_float

impl VectorAbs for vector_float

unsafe fn vec_abs(self) -> Self

impl VectorAdd<vector_float> for vector_float

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

impl VectorAllEq<vector_float> for vector_float

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

impl VectorAllGe<vector_float> for vector_float

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

impl VectorAllGt<vector_float> for vector_float

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

impl VectorAllNe<vector_float> for vector_float

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

impl VectorAnyEq<vector_float> for vector_float

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

impl VectorAnyGe<vector_float> for vector_float

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

impl VectorAnyGt<vector_float> for vector_float

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

impl VectorAnyNe<vector_float> for vector_float

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

impl VectorExtract for vector_float

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

impl VectorInsert for vector_float

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

impl VectorMergeEo for vector_float

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

impl VectorMergeh<vector_float> for vector_float

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

impl VectorMergel<vector_float> for vector_float

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

impl VectorMul for vector_float

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

impl VectorNeg for vector_float

unsafe fn vec_neg(self) -> Self

impl VectorPerm for vector_float

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

impl VectorRound for vector_float

unsafe fn vec_round(self) -> Self

impl VectorSel<vector_bool_int> for vector_float

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

impl VectorSel<vector_unsigned_int> for vector_float

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

impl VectorSld for vector_float

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

impl VectorSlo<vector_signed_char> for vector_float

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

impl VectorSlo<vector_unsigned_char> for vector_float

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

impl VectorSro<vector_signed_char> for vector_float

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

impl VectorSro<vector_unsigned_char> for vector_float

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

impl VectorSt for vector_float

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

impl VectorSte for vector_float

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

impl VectorSub<vector_float> for vector_float

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

impl VectorXst for vector_float

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

impl VectorXstores for vector_float

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

Auto Trait Implementations

impl Freeze for vector_float

impl RefUnwindSafe for vector_float

impl Send for vector_float

impl Sync for vector_float

impl Unpin for vector_float

impl UnsafeUnpin for vector_float

impl UnwindSafe for vector_float

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for vector_float

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

impl<T> SizedTypeProperties for vector_float

impl<T, U> Into<U> for vector_float 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_float 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_float where U: TryFrom<T>,

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