pub trait SimdOrd<T> {
const MIN: T;
const MAX: T;
fn max_element(self) -> T;
fn min_element(self) -> T;
fn max_lane(self, x: Self) -> Self;
fn min_lane(self, x: Self) -> Self;
fn new_min() -> Self;
fn new_max() -> Self;
}
This is supported on crate feature
compute_aggregate
only.Expand description
Trait describing a type describing multiple lanes with an order relationship
consistent with the same order of T
.
Associated Constants
Required methods
fn max_element(self) -> T
fn max_element(self) -> T
reduce itself to the minimum
fn min_element(self) -> T
fn min_element(self) -> T
reduce itself to the maximum