[][src]Struct shader_types::IVec3

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

Vector of 3 i32 values. Has size 12 and alignment 16.

Fields

inner: [i32; 3]

Implementations

impl IVec3[src]

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

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

This is supported on crate feature mint only.

Construct a IVec3 from any type which is convertable into a mint::Vector3<i32>.

Trait Implementations

impl Clone for IVec3[src]

impl Copy for IVec3[src]

impl Debug for IVec3[src]

impl Default for IVec3[src]

impl From<[i32; 3]> for IVec3[src]

impl From<IVec3> for Vector3<i32>[src]

impl From<IVec3> for [i32; 3][src]

impl From<Vector3<i32>> for IVec3[src]

impl PartialEq<IVec3> for IVec3[src]

impl PartialOrd<IVec3> for IVec3[src]

impl Pod for IVec3[src]

impl StructuralPartialEq for IVec3[src]

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