[][src]Struct shader_types::DVec2

#[repr(C, align(16))]pub struct DVec2 {
    pub inner: [f64; 2],
    // some fields omitted
}

Vector of 2 f64s. Alignment 16, size 32.

Fields

inner: [f64; 2]

Implementations

impl DVec2[src]

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

Trait Implementations

impl Clone for DVec2[src]

impl Copy for DVec2[src]

impl Debug for DVec2[src]

impl Default for DVec2[src]

impl From<[f64; 2]> for DVec2[src]

impl From<DVec2> for [f64; 2][src]

impl PartialEq<DVec2> for DVec2[src]

impl PartialOrd<DVec2> for DVec2[src]

impl StructuralPartialEq for DVec2[src]

Auto Trait Implementations

impl RefUnwindSafe for DVec2

impl Send for DVec2

impl Sync for DVec2

impl Unpin for DVec2

impl UnwindSafe for DVec2

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.