#[repr(C)]pub struct BVec2 {
pub x: bool,
pub y: bool,
}
Expand description
A 2-dimensional boolean vector.
Fields§
§x: bool
§y: bool
Implementations§
Trait Implementations§
source§impl BitAndAssign for BVec2
impl BitAndAssign for BVec2
source§fn bitand_assign(&mut self, rhs: BVec2)
fn bitand_assign(&mut self, rhs: BVec2)
Performs the
&=
operation. Read moresource§impl BitOrAssign for BVec2
impl BitOrAssign for BVec2
source§fn bitor_assign(&mut self, rhs: BVec2)
fn bitor_assign(&mut self, rhs: BVec2)
Performs the
|=
operation. Read moresource§impl BitXorAssign for BVec2
impl BitXorAssign for BVec2
source§fn bitxor_assign(&mut self, rhs: BVec2)
fn bitxor_assign(&mut self, rhs: BVec2)
Performs the
^=
operation. Read moreimpl Copy for BVec2
impl Eq for BVec2
Auto Trait Implementations§
impl RefUnwindSafe for BVec2
impl Send for BVec2
impl Sync for BVec2
impl Unpin for BVec2
impl UnwindSafe for BVec2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more