[][src]Struct shader_types::IVec4

#[repr(C, align(16))]pub struct IVec4 {
    pub inner: [i32; 4],
}

Vector of 4 i32 values. Has size 16 and alignment 16.

Fields

inner: [i32; 4]

Implementations

impl IVec4[src]

pub fn new(inner: [i32; 4]) -> Self[src]

pub fn from_mint<T: Into<Vector4<i32>>>(value: T) -> Self[src]

This is supported on crate feature mint only.

Construct a IVec4 from any type which is convertable into a mint::Vector4<i32>.

Trait Implementations

impl Clone for IVec4[src]

impl Copy for IVec4[src]

impl Debug for IVec4[src]

impl Default for IVec4[src]

impl From<[i32; 4]> for IVec4[src]

impl From<IVec4> for Vector4<i32>[src]

impl From<IVec4> for [i32; 4][src]

impl From<Vector4<i32>> for IVec4[src]

impl PartialEq<IVec4> for IVec4[src]

impl PartialOrd<IVec4> for IVec4[src]

impl Pod for IVec4[src]

impl StructuralPartialEq for IVec4[src]

impl Zeroable for IVec4[src]

Auto Trait Implementations

impl RefUnwindSafe for IVec4

impl Send for IVec4

impl Sync for IVec4

impl Unpin for IVec4

impl UnwindSafe for IVec4

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.