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§
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
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.