Skip to main content

SimdSelect

Trait SimdSelect 

Source
pub trait SimdSelect<N: ScalarType> {
    // Required method
    fn select(self, condition: N::SimdBool, if_false: Self) -> Self;
}
Expand description

Trait for conditional selection between two values.

Required Methods§

Source

fn select(self, condition: N::SimdBool, if_false: Self) -> Self

Select between self and if_false based on condition.

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§