Struct vector_double

#[repr(simd)]
pub struct vector_double(pub(in ::core_arch::powerpc::vsx) [f64; 2]);

PowerPC-specific 128-bit wide vector of two packed f64

Fields

0: [f64; 2]

Implementations

impl vector_double

fn splat(value: f64) -> vector_double

Put the same value in every lane.

const fn as_array(&self) -> &[f64; 2]

Returns an array reference containing the entire SIMD vector.

fn as_mut_array(&mut self) -> &mut [f64; 2]

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for vector_double

fn clone(&self) -> vector_double

impl Copy for vector_double

impl Debug for vector_double

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

impl From<Simd<f64, 2>> for vector_double

fn from(simd: Simd<f64, 2>) -> Self

impl TrivialClone for vector_double

impl VectorPermDI for vector_double

unsafe fn vec_xxpermdi(self, b: Self, dm: u8) -> Self

Auto Trait Implementations

impl Freeze for vector_double

impl RefUnwindSafe for vector_double

impl Send for vector_double

impl Sync for vector_double

impl Unpin for vector_double

impl UnsafeUnpin for vector_double

impl UnwindSafe for vector_double

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for vector_double

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

impl<T> SizedTypeProperties for vector_double

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

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