Skip to main content

ComponentMul

Trait ComponentMul 

Source
pub trait ComponentMul: Sized {
    // Required method
    fn component_mul(&self, other: &Self) -> Self;
}
Expand description

Extension trait for element-wise vector operations

Required Methods§

Source

fn component_mul(&self, other: &Self) -> Self

Element-wise multiplication

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<N: SimdRealCopy> ComponentMul for Vector2<N>

Available on non-SPIR-V only.
Source§

fn component_mul(&self, other: &Self) -> Self

Source§

impl<N: SimdRealCopy> ComponentMul for Vector3<N>

Available on non-SPIR-V only.
Source§

fn component_mul(&self, other: &Self) -> Self

Implementors§