[][src]Struct euclid::BoolVector2D

pub struct BoolVector2D {
    pub x: bool,
    pub y: bool,
}

Fields

x: booly: bool

Methods

impl BoolVector2D[src]

pub fn all(&self) -> bool[src]

pub fn any(&self) -> bool[src]

pub fn none(&self) -> bool[src]

pub fn and(&self, other: Self) -> Self[src]

pub fn or(&self, other: Self) -> Self[src]

pub fn not(&self) -> Self[src]

pub fn select_point<T: Copy, U>(
    &self,
    a: &TypedPoint2D<T, U>,
    b: &TypedPoint2D<T, U>
) -> TypedPoint2D<T, U>
[src]

pub fn select_vector<T: Copy, U>(
    &self,
    a: &TypedVector2D<T, U>,
    b: &TypedVector2D<T, U>
) -> TypedVector2D<T, U>
[src]

pub fn select_size<T: Copy, U>(
    &self,
    a: &TypedSize2D<T, U>,
    b: &TypedSize2D<T, U>
) -> TypedSize2D<T, U>
[src]

Trait Implementations

impl PartialEq<BoolVector2D> for BoolVector2D[src]

impl Eq for BoolVector2D[src]

impl Hash for BoolVector2D[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for BoolVector2D[src]

impl Copy for BoolVector2D[src]

impl Clone for BoolVector2D[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for BoolVector2D

impl Send for BoolVector2D

impl Sync for BoolVector2D

impl UnwindSafe for BoolVector2D

impl RefUnwindSafe for BoolVector2D

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.