Skip to main content

VectorMask

Trait VectorMask 

Source
pub trait VectorMask<T, const N: usize>
where T: Scalar,
{ type Mask; // Required methods fn eq(&self, other: &Self) -> Self::Mask; fn ne(&self, other: &Self) -> Self::Mask; fn gt(&self, other: &Self) -> Self::Mask; fn ge(&self, other: &Self) -> Self::Mask; fn lt(&self, other: &Self) -> Self::Mask; fn le(&self, other: &Self) -> Self::Mask; fn select(&self, other: &Self, mask: Self::Mask) -> Self; fn all(mask: &Self::Mask) -> bool; }

Required Associated Types§

Required Methods§

Source

fn eq(&self, other: &Self) -> Self::Mask

Source

fn ne(&self, other: &Self) -> Self::Mask

Source

fn gt(&self, other: &Self) -> Self::Mask

Source

fn ge(&self, other: &Self) -> Self::Mask

Source

fn lt(&self, other: &Self) -> Self::Mask

Source

fn le(&self, other: &Self) -> Self::Mask

Source

fn select(&self, other: &Self, mask: Self::Mask) -> Self

Source

fn all(mask: &Self::Mask) -> bool

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.

Implementors§