[−][src]Struct glsl_layout::bvec2
Vector of 2 boolean values.
foo: bvec2 is equivalent to glsl's bvec2 foo;
Examples
let x: bvec2 = [boolean::from(true); 2].into();
Trait Implementations
impl Std140 for bvec2[src]
impl AsStd140 for bvec2[src]
type Align = Align8
ZST that enforces alignment required for this type.
type Std140 = bvec2
Type that contain same data with memory layout matching glsl's layout(std140).
fn std140(&self) -> bvec2[src]
impl AsRef<[boolean; 2]> for bvec2[src]
impl AsRef<[boolean]> for bvec2[src]
impl PartialEq<bvec2> for bvec2[src]
impl Clone for bvec2[src]
fn clone(&self) -> bvec2[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialOrd<bvec2> for bvec2[src]
fn partial_cmp(&self, other: &bvec2) -> Option<Ordering>[src]
fn lt(&self, other: &bvec2) -> bool[src]
fn le(&self, other: &bvec2) -> bool[src]
fn gt(&self, other: &bvec2) -> bool[src]
fn ge(&self, other: &bvec2) -> bool[src]
impl Eq for bvec2[src]
impl Ord for bvec2[src]
fn cmp(&self, other: &bvec2) -> Ordering[src]
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
impl AsMut<[boolean; 2]> for bvec2[src]
impl AsMut<[boolean]> for bvec2[src]
impl<T> From<[T; 2]> for bvec2 where
T: Into<boolean>, [src]
T: Into<boolean>,
impl Default for bvec2[src]
impl Copy for bvec2[src]
impl Debug for bvec2[src]
impl Hash for bvec2[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,