Struct euclid::BoolVector2D
source · Fields
x: bool
y: bool
Implementations
sourceimpl BoolVector2D
impl BoolVector2D
pub fn all(&self) -> bool
pub fn any(&self) -> bool
pub fn none(&self) -> bool
pub fn and(&self, other: Self) -> Self
pub fn or(&self, other: Self) -> Self
pub fn not(&self) -> Self
pub fn select_point<T: Copy, U>(
&self,
a: &TypedPoint2D<T, U>,
b: &TypedPoint2D<T, U>
) -> TypedPoint2D<T, U>
pub fn select_vector<T: Copy, U>(
&self,
a: &TypedVector2D<T, U>,
b: &TypedVector2D<T, U>
) -> TypedVector2D<T, U>
pub fn select_size<T: Copy, U>(
&self,
a: &TypedSize2D<T, U>,
b: &TypedSize2D<T, U>
) -> TypedSize2D<T, U>
Trait Implementations
sourceimpl Clone for BoolVector2D
impl Clone for BoolVector2D
sourcefn clone(&self) -> BoolVector2D
fn clone(&self) -> BoolVector2D
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BoolVector2D
impl Debug for BoolVector2D
sourceimpl Hash for BoolVector2D
impl Hash for BoolVector2D
sourceimpl PartialEq<BoolVector2D> for BoolVector2D
impl PartialEq<BoolVector2D> for BoolVector2D
sourcefn eq(&self, other: &BoolVector2D) -> bool
fn eq(&self, other: &BoolVector2D) -> bool
impl Copy for BoolVector2D
impl Eq for BoolVector2D
impl StructuralEq for BoolVector2D
impl StructuralPartialEq for BoolVector2D
Auto Trait Implementations
impl RefUnwindSafe for BoolVector2D
impl Send for BoolVector2D
impl Sync for BoolVector2D
impl Unpin for BoolVector2D
impl UnwindSafe for BoolVector2D
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more