[−][src]Struct glsl_layout::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)
.
fn std140(&self) -> dvec4
[src]
impl Clone for dvec4
[src]
fn clone(&self) -> dvec4
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for dvec4
[src]
impl PartialEq<dvec4> for dvec4
[src]
impl<T> From<[T; 4]> for dvec4 where
T: Into<double>,
[src]
T: Into<double>,
impl AsRef<[f64; 4]> for dvec4
[src]
impl AsRef<[f64]> for dvec4
[src]
impl AsMut<[f64; 4]> for dvec4
[src]
impl AsMut<[f64]> for dvec4
[src]
impl Copy for dvec4
[src]
impl PartialOrd<dvec4> for dvec4
[src]
fn partial_cmp(&self, other: &dvec4) -> Option<Ordering>
[src]
fn lt(&self, other: &dvec4) -> bool
[src]
fn le(&self, other: &dvec4) -> bool
[src]
fn gt(&self, other: &dvec4) -> bool
[src]
fn ge(&self, other: &dvec4) -> bool
[src]
impl Debug for dvec4
[src]
Auto Trait Implementations
impl Send for dvec4
impl Unpin for dvec4
impl Sync for dvec4
impl RefUnwindSafe for dvec4
impl UnwindSafe for dvec4
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,