pub struct BVec2 {
pub x: bool,
pub y: bool,
}
Expand description
A 2-dimensional bool
vector mask.
Fields§
§x: bool
§y: bool
Implementations§
Trait Implementations§
source§impl BitAndAssign<BVec2> for BVec2
impl BitAndAssign<BVec2> for BVec2
source§fn bitand_assign(&mut self, rhs: BVec2)
fn bitand_assign(&mut self, rhs: BVec2)
Performs the
&=
operation. Read moresource§impl BitOrAssign<BVec2> for BVec2
impl BitOrAssign<BVec2> for BVec2
source§fn bitor_assign(&mut self, rhs: BVec2)
fn bitor_assign(&mut self, rhs: BVec2)
Performs the
|=
operation. Read moresource§impl BitXorAssign<BVec2> for BVec2
impl BitXorAssign<BVec2> for BVec2
source§fn bitxor_assign(&mut self, rhs: BVec2)
fn bitxor_assign(&mut self, rhs: BVec2)
Performs the
^=
operation. Read more