[][src]Struct glsl_layout::dvec4

#[repr(transparent)]
pub struct dvec4(_);

Vector of 4 double value. foo: dvec4 is equivalent to glsl's dvec4 foo;

Examples

let x: dvec4 = [1f32; 4].into();

Trait Implementations

impl Std140 for dvec4[src]

impl AsStd140 for dvec4[src]

type Align = Align32

ZST that enforces alignment required for this type.

type Std140 = dvec4

Type that contain same data with memory layout matching glsl's layout(std140).

impl Copy for dvec4[src]

impl AsRef<[f64; 4]> for dvec4[src]

impl AsRef<[f64]> for dvec4[src]

impl Default for dvec4[src]

impl Clone for dvec4[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<dvec4> for dvec4[src]

impl PartialEq<dvec4> for dvec4[src]

impl<T> From<[T; 4]> for dvec4 where
    T: Into<double>, 
[src]

impl AsMut<[f64; 4]> for dvec4[src]

impl AsMut<[f64]> for dvec4[src]

impl Debug for dvec4[src]

Auto Trait Implementations

impl Unpin for dvec4

impl Sync for dvec4

impl Send for dvec4

impl UnwindSafe for dvec4

impl RefUnwindSafe for dvec4

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]