[][src]Struct shader_types::DVec4

#[repr(C, align(32))]pub struct DVec4 {
    pub inner: [f64; 4],
}

Vector of 4 f64 values. Has size 32 and alignment 32.

Fields

inner: [f64; 4]

Implementations

impl DVec4[src]

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

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

This is supported on crate feature mint only.

Construct a DVec4 from any type which is convertable into a mint::Vector4<f64>.

Trait Implementations

impl Clone for DVec4[src]

impl Copy for DVec4[src]

impl Debug for DVec4[src]

impl Default for DVec4[src]

impl From<[f64; 4]> for DVec4[src]

impl From<DVec4> for Vector4<f64>[src]

impl From<DVec4> for [f64; 4][src]

impl From<Vector4<f64>> for DVec4[src]

impl PartialEq<DVec4> for DVec4[src]

impl PartialOrd<DVec4> for DVec4[src]

impl Pod for DVec4[src]

impl StructuralPartialEq for DVec4[src]

impl Zeroable for DVec4[src]

Auto Trait Implementations

impl RefUnwindSafe for DVec4

impl Send for DVec4

impl Sync for DVec4

impl Unpin for DVec4

impl UnwindSafe for DVec4

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.