Skip to main content

SIMDSelect

Trait SIMDSelect 

Source
pub trait SIMDSelect<V: SIMDVector>: SIMDMask {
    // Required method
    fn select(self, x: V, y: V) -> V;
}
Expand description

A vectorized “if else”.

Required Methods§

Source

fn select(self, x: V, y: V) -> V

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§