Struct std140::ivec3[][src]

#[repr(C, align(16))]pub struct ivec3(pub i32, pub i32, pub i32);

A column vector of 3 int values.

Example

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

Implementations

impl ivec3[src]

pub fn zero() -> Self[src]

Creates a new ivec3 with zeros in all positions.

Trait Implementations

impl Clone for ivec3[src]

impl Copy for ivec3[src]

impl Debug for ivec3[src]

impl Index<usize> for ivec3[src]

type Output = i32

The returned type after indexing.

impl IndexMut<usize> for ivec3[src]

impl PartialEq<ivec3> for ivec3[src]

impl ReprStd140 for ivec3[src]

impl Std140ArrayElement for ivec3[src]

impl StructuralPartialEq for ivec3[src]

Auto Trait Implementations

impl RefUnwindSafe for ivec3

impl Send for ivec3

impl Sync for ivec3

impl Unpin for ivec3

impl UnwindSafe for ivec3

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.