Trait PrivateMethods
pub trait PrivateMethods
Not only does this seal the MaskElement trait, but these functions prevent other traits
from bleeding into the parent bounds.
For example, eq could be provided by requiring MaskElement: PartialEq, but that would
prevent us from ever removing that bound, or from implementing MaskElement on
non-PartialEq types in the future.
Associated Types
type Unsigned: SimdElement;
Associated Constants
const TRUE: Self;const FALSE: Self;
Required Methods
fn valid<const N: usize>(values: Simd<Self, N>) -> bool where Self: SimdElement,fn eq(self, other: Self) -> boolfn to_usize(self) -> usizefn max_unsigned() -> u64
Implementors
impl PrivateMethods for i16impl PrivateMethods for i32impl PrivateMethods for i64impl PrivateMethods for i8impl PrivateMethods for isize