Struct glsl_layout::Element [−][src]
Aligning wrapper. Elements for array are aligned to 16 bytes (size of vec4) at least.
Trait Implementations
impl<T: Clone + Uniform> Clone for Element<T> where
T::Align: Clone, [src]
impl<T: Clone + Uniform> Clone for Element<T> where
T::Align: Clone, fn clone(&self) -> Element<T>[src]
fn clone(&self) -> Element<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<T: Copy + Uniform> Copy for Element<T> where
T::Align: Copy, [src]
impl<T: Copy + Uniform> Copy for Element<T> where
T::Align: Copy, impl<T: Debug + Uniform> Debug for Element<T> where
T::Align: Debug, [src]
impl<T: Debug + Uniform> Debug for Element<T> where
T::Align: Debug, fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Default + Uniform> Default for Element<T> where
T::Align: Default, [src]
impl<T: Default + Uniform> Default for Element<T> where
T::Align: Default, impl<T: PartialOrd + Uniform> PartialOrd for Element<T> where
T::Align: PartialOrd, [src]
impl<T: PartialOrd + Uniform> PartialOrd for Element<T> where
T::Align: PartialOrd, fn partial_cmp(&self, other: &Element<T>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Element<T>) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Element<T>) -> bool[src]
fn lt(&self, other: &Element<T>) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Element<T>) -> bool[src]
fn le(&self, other: &Element<T>) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Element<T>) -> bool[src]
fn gt(&self, other: &Element<T>) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Element<T>) -> bool[src]
fn ge(&self, other: &Element<T>) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl<T: PartialEq + Uniform> PartialEq for Element<T> where
T::Align: PartialEq, [src]
impl<T: PartialEq + Uniform> PartialEq for Element<T> where
T::Align: PartialEq, fn eq(&self, other: &Element<T>) -> bool[src]
fn eq(&self, other: &Element<T>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Element<T>) -> bool[src]
fn ne(&self, other: &Element<T>) -> boolThis method tests for !=.
impl<T: Ord + Uniform> Ord for Element<T> where
T::Align: Ord, [src]
impl<T: Ord + Uniform> Ord for Element<T> where
T::Align: Ord, fn cmp(&self, other: &Element<T>) -> Ordering[src]
fn cmp(&self, other: &Element<T>) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl<T: Eq + Uniform> Eq for Element<T> where
T::Align: Eq, [src]
impl<T: Eq + Uniform> Eq for Element<T> where
T::Align: Eq, impl<T: Hash + Uniform> Hash for Element<T> where
T::Align: Hash, [src]
impl<T: Hash + Uniform> Hash for Element<T> where
T::Align: Hash, fn hash<__HT: Hasher>(&self, state: &mut __HT)[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl<T> From<T> for Element<T> where
T: Uniform, [src]
impl<T> From<T> for Element<T> where
T: Uniform, impl<T> AsRef<T> for Element<T> where
T: Uniform, [src]
impl<T> AsRef<T> for Element<T> where
T: Uniform, impl<T> AsMut<T> for Element<T> where
T: Uniform, [src]
impl<T> AsMut<T> for Element<T> where
T: Uniform,