Struct std140::bvec4[][src]

#[repr(C, align(16))]pub struct bvec4(pub boolean, pub boolean, pub boolean, pub boolean);

A column vector of 4 boolean values.

Example

let value = std140::bvec4(
    std140::boolean::False,
    std140::boolean::False,
    std140::boolean::False,
    std140::boolean::True
);

Trait Implementations

impl Clone for bvec4[src]

impl Copy for bvec4[src]

impl Debug for bvec4[src]

impl Index<usize> for bvec4[src]

type Output = boolean

The returned type after indexing.

impl IndexMut<usize> for bvec4[src]

impl PartialEq<bvec4> for bvec4[src]

impl ReprStd140 for bvec4[src]

impl Std140ArrayElement for bvec4[src]

impl StructuralPartialEq for bvec4[src]

Auto Trait Implementations

impl RefUnwindSafe for bvec4

impl Send for bvec4

impl Sync for bvec4

impl Unpin for bvec4

impl UnwindSafe for bvec4

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> 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.