[][src]Struct shader_types::DVec3

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

Vector of 3 f64 values. Has size 24 and alignment 32.

Fields

inner: [f64; 3]

Implementations

impl DVec3[src]

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

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

This is supported on crate feature mint only.

Construct a DVec3 from any type which is convertable into a mint::Vector3<f64>.

Trait Implementations

impl Clone for DVec3[src]

impl Copy for DVec3[src]

impl Debug for DVec3[src]

impl Default for DVec3[src]

impl From<[f64; 3]> for DVec3[src]

impl From<DVec3> for Vector3<f64>[src]

impl From<DVec3> for [f64; 3][src]

impl From<Vector3<f64>> for DVec3[src]

impl PartialEq<DVec3> for DVec3[src]

impl PartialOrd<DVec3> for DVec3[src]

impl Pod for DVec3[src]

impl StructuralPartialEq for DVec3[src]

impl Zeroable for DVec3[src]

Auto Trait Implementations

impl RefUnwindSafe for DVec3

impl Send for DVec3

impl Sync for DVec3

impl Unpin for DVec3

impl UnwindSafe for DVec3

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.