Struct lyon_core::math::BoolVec4
[−]
[src]
pub struct BoolVec4 { pub x: bool, pub y: bool, pub z: bool, pub w: bool, }
Fields
x: bool
y: bool
z: bool
w: bool
Methods
impl BoolVec4
[src]
fn new(x: bool, y: bool, z: bool, w: bool) -> BoolVec4
fn any(self) -> bool
fn all(self) -> bool
fn and(self, other: BoolVec4) -> BoolVec4
fn or(self, other: BoolVec4) -> BoolVec4
fn tuple(&self) -> (bool, bool, bool, bool)
fn array(&self) -> [bool; 4]
Trait Implementations
impl Copy for BoolVec4
[src]
impl Clone for BoolVec4
[src]
fn clone(&self) -> BoolVec4
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for BoolVec4
[src]
impl PartialEq for BoolVec4
[src]
fn eq(&self, __arg_0: &BoolVec4) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BoolVec4) -> bool
This method tests for !=
.
impl Eq for BoolVec4
[src]
impl Hash for BoolVec4
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.