Struct slipstream::mask::MaskWrapper
source · pub struct MaskWrapper<I>(_);
Expand description
Inner implementation of the mask types.
This is to be used through the type aliases in this module, like m8
, or more often through
vectors of these, like m8x4
. These are the mask vectors
.
Trait Implementations§
source§impl<I: BitAnd<Output = I>> BitAnd<MaskWrapper<I>> for MaskWrapper<I>
impl<I: BitAnd<Output = I>> BitAnd<MaskWrapper<I>> for MaskWrapper<I>
source§impl<I: BitAndAssign> BitAndAssign<MaskWrapper<I>> for MaskWrapper<I>
impl<I: BitAndAssign> BitAndAssign<MaskWrapper<I>> for MaskWrapper<I>
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl<I: BitOr<Output = I>> BitOr<MaskWrapper<I>> for MaskWrapper<I>
impl<I: BitOr<Output = I>> BitOr<MaskWrapper<I>> for MaskWrapper<I>
source§impl<I: BitOrAssign> BitOrAssign<MaskWrapper<I>> for MaskWrapper<I>
impl<I: BitOrAssign> BitOrAssign<MaskWrapper<I>> for MaskWrapper<I>
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl<I: BitXor<Output = I>> BitXor<MaskWrapper<I>> for MaskWrapper<I>
impl<I: BitXor<Output = I>> BitXor<MaskWrapper<I>> for MaskWrapper<I>
source§impl<I: BitXorAssign> BitXorAssign<MaskWrapper<I>> for MaskWrapper<I>
impl<I: BitXorAssign> BitXorAssign<MaskWrapper<I>> for MaskWrapper<I>
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl<I: Clone> Clone for MaskWrapper<I>
impl<I: Clone> Clone for MaskWrapper<I>
source§fn clone(&self) -> MaskWrapper<I>
fn clone(&self) -> MaskWrapper<I>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<I: Debug> Debug for MaskWrapper<I>
impl<I: Debug> Debug for MaskWrapper<I>
source§impl<I: Default> Default for MaskWrapper<I>
impl<I: Default> Default for MaskWrapper<I>
source§fn default() -> MaskWrapper<I>
fn default() -> MaskWrapper<I>
Returns the “default value” for a type. Read more
source§impl<I: Not<Output = I>> Not for MaskWrapper<I>
impl<I: Not<Output = I>> Not for MaskWrapper<I>
source§impl<I: Ord> Ord for MaskWrapper<I>
impl<I: Ord> Ord for MaskWrapper<I>
source§fn cmp(&self, other: &MaskWrapper<I>) -> Ordering
fn cmp(&self, other: &MaskWrapper<I>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<I: PartialEq> PartialEq<MaskWrapper<I>> for MaskWrapper<I>
impl<I: PartialEq> PartialEq<MaskWrapper<I>> for MaskWrapper<I>
source§fn eq(&self, other: &MaskWrapper<I>) -> bool
fn eq(&self, other: &MaskWrapper<I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<I: PartialOrd> PartialOrd<MaskWrapper<I>> for MaskWrapper<I>
impl<I: PartialOrd> PartialOrd<MaskWrapper<I>> for MaskWrapper<I>
source§fn partial_cmp(&self, other: &MaskWrapper<I>) -> Option<Ordering>
fn partial_cmp(&self, other: &MaskWrapper<I>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more