pub struct WideF32x4(pub f32x4);
Expand description

A wrapper type of wide::f32x4 that implements all the relevant traits from num and simba.

This is needed to overcome the orphan rules.

Tuple Fields

0: f32x4

Trait Implementations

The resulting type after applying the + operator.
Performs the + operation. Read more
Performs the += operation. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The resulting type after applying the / operator.
Performs the / operation. Read more
Performs the /= operation. Read more
Converts to this type from the input type.
Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
The resulting type after applying the * operator.
Performs the * operation. Read more
Performs the *= operation. Read more
The resulting type after applying the - operator.
Performs the unary - operation. Read more
Convert from a string and radix (typically 2..=36). Read more
Returns the multiplicative identity element of Self, 1. Read more
Sets self to the multiplicative identity element of Self, 1.
Returns true if self is equal to the multiplicative identity. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
The resulting type after applying the % operator.
Performs the % operation. Read more
Performs the %= operation. Read more
Type of the coefficients of a complex number.
Computes the sum of all the lanes of self.
Computes the product of all the lanes of self.
Builds a pure-real complex number from the given value.
The real part of this complex number.
The imaginary part of this complex number.
The sum of the absolute value of this complex number’s real and imaginary part.
The modulus of this complex number.
The squared modulus of this complex number.
The argument of this complex number.
The exponential form of this complex number: (modulus, e^{i arg})
Multiplies this complex number by factor.
Divides this complex number by factor.
The absolute value of this complex number: self / self.signum(). Read more
The exponential part of this complex number: self / self.modulus()
Computes (self.conjugate() * self + other.conjugate() * other).sqrt()
The polar form of this complex number: (modulus, arg)
Cardinal sine
Cardinal cos
Lanewise greater than > comparison.
Lanewise less than < comparison.
Lanewise greater or equal >= comparison.
Lanewise less or equal <= comparison.
Lanewise equal == comparison.
Lanewise not equal != comparison.
Lanewise max value.
Lanewise min value.
Clamps each lane of self between the corresponding lane of min and max.
The min value among all lanes of self.
The max value among all lanes of self.
The absolute value of each lane of self.
The absolute difference of each lane of self. Read more
The signum of each lane of Self.
Tests which lane is positive.
Tests which lane is negative.
The type of the elements of each lane of this SIMD value.
Type of the result of comparing two SIMD values like self.
The number of lanes of this SIMD value.
Initializes an SIMD value with each lanes set to val.
Extracts the i-th lane of self. Read more
Extracts the i-th lane of self without bound-checking.
Replaces the i-th lane of self by val. Read more
Replaces the i-th lane of self by val without bound-checking.
Merges self and other depending on the lanes of cond. Read more
Applies a function to each lane of self. Read more
Applies a function to each lane of self paired with the corresponding lane of b. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
Performs the -= operation. Read more
The inclusion map: converts self to the equivalent element of its superset.
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
The inclusion map: converts self to the equivalent element of its superset.
Use with care! Same as self.to_superset but without any property checks. Always succeeds.
Checks if element is actually part of the subset Self (and can be converted to it).
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Returns the additive identity element of Self, 0. Read more
Returns true if self is equal to the additive identity.
Sets self to the additive identity element of Self, 0.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Return the T [ShaderType] for self. When used in [AsBindGroup] derives, it is safe to assume that all images in self exist. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more