Struct Avx

Source
pub struct Avx(/* private fields */);
Expand description

AVX instruction set token.

Trait Implementations§

Source§

impl Clone for Avx

Source§

fn clone(&self) -> Avx

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Avx

Source§

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

Formats the value using the given formatter. Read more
Source§

impl From<Avx> for Generic

Source§

fn from(_: Avx) -> Self

Converts to this type from the input type.
Source§

impl From<Avx> for Sse

Source§

fn from(_: Avx) -> Sse

Converts to this type from the input type.
Source§

impl Native<Avx> for Complex<f32>

Source§

impl Native<Avx> for Complex<f64>

Source§

impl Native<Avx> for f32

Source§

impl Native<Avx> for f64

Source§

impl Scalar<Avx, W1> for Complex<f32>

Source§

type Vector = ShimToken<cf32x1, Complex<f32>, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W1> for Complex<f64>

Source§

type Vector = ShimToken<cf64x1, Complex<f64>, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W1> for f32

Source§

type Vector = ShimToken<f32x1, f32, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W1> for f64

Source§

type Vector = ShimToken<f64x1, f64, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W2> for Complex<f32>

Source§

type Vector = ShimToken<cf32x2, Complex<f32>, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W2> for Complex<f64>

Source§

type Vector = cf64x2

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W2> for f32

Source§

type Vector = ShimToken<Shim2<f32x1, f32>, f32, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W2> for f64

Source§

type Vector = ShimToken<f64x2, f64, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W4> for Complex<f32>

Source§

type Vector = cf32x4

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W4> for Complex<f64>

Source§

type Vector = Shim2<cf64x2, Complex<f64>>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W4> for f32

Source§

type Vector = ShimToken<f32x4, f32, Avx>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W4> for f64

Source§

type Vector = f64x4

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W8> for Complex<f32>

Source§

type Vector = Shim2<cf32x4, Complex<f32>>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W8> for Complex<f64>

Source§

type Vector = Shim2<Shim2<cf64x2, Complex<f64>>, Complex<f64>>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W8> for f32

Source§

type Vector = f32x8

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Scalar<Avx, W8> for f64

Source§

type Vector = Shim2<f64x4, f64>

Source§

fn zeroed(token: Token) -> Self::Vector

Create a vector set to zero. Read more
Source§

fn splat(self, token: Token) -> Self::Vector

Splat a scalar to a vector. Read more
Source§

impl Token for Avx

Source§

fn new() -> Option<Self>

Detects whether the required CPU features are supported.
Source§

unsafe fn new_unchecked() -> Self

Creates the token without detecting if the CPU features are supported. Read more
Source§

impl Copy for Avx

Auto Trait Implementations§

§

impl Freeze for Avx

§

impl RefUnwindSafe for Avx

§

impl Send for Avx

§

impl Sync for Avx

§

impl Unpin for Avx

§

impl UnwindSafe for Avx

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

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

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.