#[repr(C, align(1))]pub struct BVec3 {
pub x: bool,
pub y: bool,
pub z: bool,
}Expand description
A 3-dimensional bool vector mask.
Fields§
§x: bool§y: bool§z: boolImplementations§
Trait Implementations§
Source§impl BitAndAssign for BVec3
impl BitAndAssign for BVec3
Source§fn bitand_assign(&mut self, rhs: BVec3)
fn bitand_assign(&mut self, rhs: BVec3)
Performs the
&= operation. Read moreSource§impl BitOrAssign for BVec3
impl BitOrAssign for BVec3
Source§fn bitor_assign(&mut self, rhs: BVec3)
fn bitor_assign(&mut self, rhs: BVec3)
Performs the
|= operation. Read moreSource§impl BitXorAssign for BVec3
impl BitXorAssign for BVec3
Source§fn bitxor_assign(&mut self, rhs: BVec3)
fn bitxor_assign(&mut self, rhs: BVec3)
Performs the
^= operation. Read moreimpl Copy for BVec3
impl Eq for BVec3
impl StructuralPartialEq for BVec3
Auto Trait Implementations§
impl Freeze for BVec3
impl RefUnwindSafe for BVec3
impl Send for BVec3
impl Sync for BVec3
impl Unpin for BVec3
impl UnwindSafe for BVec3
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self using data from the given World.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more