Struct std140::uvec2[][src]

#[repr(C, align(8))]pub struct uvec2(pub u32, pub u32);

A column vector of 2 uint values.

Example

let value = std140::uvec2(0, 1);

Implementations

impl uvec2[src]

pub fn zero() -> Self[src]

Creates a new uvec2 with zeros in all positions.

Trait Implementations

impl Clone for uvec2[src]

impl Copy for uvec2[src]

impl Debug for uvec2[src]

impl Index<usize> for uvec2[src]

type Output = u32

The returned type after indexing.

impl IndexMut<usize> for uvec2[src]

impl PartialEq<uvec2> for uvec2[src]

impl ReprStd140 for uvec2[src]

impl Std140ArrayElement for uvec2[src]

impl StructuralPartialEq for uvec2[src]

Auto Trait Implementations

impl RefUnwindSafe for uvec2

impl Send for uvec2

impl Sync for uvec2

impl Unpin for uvec2

impl UnwindSafe for uvec2

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.