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", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§