Trait palette::bool_mask::HasBoolMask

source ·
pub trait HasBoolMask {
    type Mask: BoolMask;
}
Expand description

Associates a Boolean type to the implementing type.

This is primarily used in traits and functions that can accept SIMD values and return a Boolean result. SIMD values use masks to select different values for each lane and HasBoolMask::Mask can be used to know which type that mask has.

Required Associated Types§

source

type Mask: BoolMask

The mask type to use for selecting Self values.

Implementations on Foreign Types§

source§

impl HasBoolMask for f32

source§

impl HasBoolMask for f64

source§

impl HasBoolMask for i8

source§

impl HasBoolMask for i16

source§

impl HasBoolMask for i32

source§

impl HasBoolMask for i64

source§

impl HasBoolMask for i128

source§

impl HasBoolMask for u8

source§

impl HasBoolMask for u16

source§

impl HasBoolMask for u32

source§

impl HasBoolMask for u64

source§

impl HasBoolMask for u128

source§

impl<T> HasBoolMask for &T
where T: HasBoolMask,

source§

impl<T> HasBoolMask for &mut T
where T: HasBoolMask,

source§

impl<T> HasBoolMask for [T]
where T: HasBoolMask,

source§

impl<T, const N: usize> HasBoolMask for [T; N]
where T: HasBoolMask,

Implementors§

source§

impl<C, T> HasBoolMask for Alpha<C, T>
where C: HasBoolMask, T: HasBoolMask<Mask = C::Mask>,

source§

impl<S, T> HasBoolMask for Luma<S, T>
where T: HasBoolMask,

source§

impl<S, T> HasBoolMask for Rgb<S, T>
where T: HasBoolMask,

source§

impl<S, T> HasBoolMask for Hsl<S, T>
where T: HasBoolMask,

source§

impl<S, T> HasBoolMask for Hsv<S, T>
where T: HasBoolMask,

source§

impl<S, T> HasBoolMask for Hwb<S, T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16Jch<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16Jmh<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16Jsh<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16Qch<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16Qmh<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16Qsh<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16UcsJab<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Cam16UcsJmh<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Okhsl<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Okhsv<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Okhwb<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Oklab<T>
where T: HasBoolMask,

source§

impl<T> HasBoolMask for Oklch<T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Hsluv<Wp, T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Lab<Wp, T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Lch<Wp, T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Lchuv<Wp, T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Luv<Wp, T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Xyz<Wp, T>
where T: HasBoolMask,

source§

impl<Wp, T> HasBoolMask for Yxy<Wp, T>
where T: HasBoolMask,