Struct coresimd::simd::f32x2
[−]
[src]
#[repr(simd)]pub struct f32x2(_, _);
A 64-bit vector with 2 f32
lanes.
Methods
impl f32x2
[src]
pub const fn new(x0: f32, x1: f32) -> f32x2
[src]
pub fn len() -> i32
[src]
pub fn splat(value: f32) -> f32x2
[src]
pub fn extract(self, idx: u32) -> f32
[src]
pub unsafe fn extract_unchecked(self, idx: u32) -> f32
[src]
pub fn replace(self, idx: u32, val: f32) -> f32x2
[src]
pub unsafe fn replace_unchecked(self, idx: u32, val: f32) -> f32x2
[src]
pub fn store(self, slice: &mut [f32], offset: usize)
[src]
pub unsafe fn store_unchecked(self, slice: &mut [f32], offset: usize)
[src]
pub fn load(slice: &[f32], offset: usize) -> f32x2
[src]
pub unsafe fn load_unchecked(slice: &[f32], offset: usize) -> f32x2
[src]
pub fn eq(self, other: f32x2) -> i32x2
[src]
pub fn ne(self, other: f32x2) -> i32x2
[src]
pub fn lt(self, other: f32x2) -> i32x2
[src]
pub fn le(self, other: f32x2) -> i32x2
[src]
pub fn gt(self, other: f32x2) -> i32x2
[src]
pub fn ge(self, other: f32x2) -> i32x2
[src]
impl f32x2
[src]
impl f32x2
[src]
impl f32x2
[src]
Trait Implementations
impl Clone for f32x2
[src]
fn clone(&self) -> f32x2
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for f32x2
[src]
impl Debug for f32x2
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for f32x2
[src]
fn eq(&self, __arg_0: &f32x2) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &f32x2) -> bool
[src]
This method tests for !=
.
impl Add for f32x2
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
Performs the +
operation.
impl Sub for f32x2
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
Performs the -
operation.
impl Mul for f32x2
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
Performs the *
operation.
impl Div for f32x2
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
Performs the /
operation.
impl Rem for f32x2
[src]
type Output = Self
The resulting type after applying the %
operator.
fn rem(self, other: Self) -> Self
[src]
Performs the %
operation.
impl AddAssign for f32x2
[src]
fn add_assign(&mut self, other: Self)
[src]
Performs the +=
operation.
impl SubAssign for f32x2
[src]
fn sub_assign(&mut self, other: Self)
[src]
Performs the -=
operation.
impl MulAssign for f32x2
[src]
fn mul_assign(&mut self, other: Self)
[src]
Performs the *=
operation.
impl DivAssign for f32x2
[src]
fn div_assign(&mut self, other: Self)
[src]
Performs the /=
operation.
impl RemAssign for f32x2
[src]
fn rem_assign(&mut self, other: Self)
[src]
Performs the %=
operation.