#[repr(simd)]
pub struct f32x2(_, _);
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
A 64-bit vector with 2 f32
lanes.
pub const fn new(x0: f32, x1: f32) -> Self | [src] |
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Creates a new instance with each vector elements initialized
with the provided values.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Returns the number of vector lanes.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Constructs a new instance with each element initialized to
value
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Extracts the value at index
.
If index >= Self::lanes()
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Extracts the value at index
.
If index >= Self::lanes()
the behavior is undefined.
pub fn replace(self, index: usize, new_value: f32) -> Self | [src] |
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Returns a new vector where the value at index
is replaced by new_value
.
If index >= Self::lanes()
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Returns a new vector where the value at index
is replaced by new_value
.
If index >= Self::lanes()
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Writes the values of the vector to the slice
.
If slice.len() < Self::lanes()
or &slice[0]
is not
aligned to an align_of::<Self>()
boundary.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Writes the values of the vector to the slice
.
If slice.len() < Self::lanes()
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Writes the values of the vector to the slice
.
If slice.len() < Self::lanes()
or &slice[0]
is not
aligned to an align_of::<Self>()
boundary, the behavior is
undefined.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Writes the values of the vector to the slice
.
If slice.len() < Self::lanes()
the behavior is undefined.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Instantiates a new vector with the values of the slice
.
If slice.len() < Self::lanes()
or &slice[0]
is not aligned
to an align_of::<Self>()
boundary.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Instantiates a new vector with the values of the slice
.
If slice.len() < Self::lanes()
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Instantiates a new vector with the values of the slice
.
If slice.len() < Self::lanes()
or &slice[0]
is not aligned
to an align_of::<Self>()
boundary, the behavior is undefined.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Instantiates a new vector with the values of the slice
.
If slice.len() < Self::lanes()
the behavior is undefined.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise equality comparison.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise inequality comparison.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise less-than comparison.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise less-than-or-equals comparison.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise greater-than comparison.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise greater-than-or-equals comparison.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise addition of the vector elements.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Lane-wise multiplication of the vector elements.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Formats the value using the given formatter. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Performs copy-assignment from source
. Read more
The resulting type after applying the +
operator.
Performs the +
operation.
The resulting type after applying the -
operator.
Performs the -
operation.
The resulting type after applying the *
operator.
Performs the *
operation.
The resulting type after applying the /
operator.
Performs the /
operation.
The resulting type after applying the %
operator.
Performs the %
operation.
Performs the +=
operation.
Performs the -=
operation.
Performs the *=
operation.
Performs the /=
operation.
Performs the %=
operation.
The resulting type after applying the -
operator.
Performs the unary -
operation.
fn eq(&self, other: &Self) -> bool | [src] |
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Self) -> bool | [src] |
This method tests for !=
.
Returns the "default value" for a type. Read more
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.
🔬 This is a nightly-only experimental API. (
stdsimd
#48556)
Safe lossless bitwise from T
to Self
.