Struct glsl_layout::Element
source · [−]Expand description
Aligning wrapper. Elements for array are aligned to 16 bytes (size of vec4) at least.
Tuple Fields
0: T1: T::AlignTrait Implementations
sourceimpl<T: Ord + Uniform> Ord for Element<T> where
T::Align: Ord,
impl<T: Ord + Uniform> Ord for Element<T> where
T::Align: Ord,
sourceimpl<T: PartialOrd + Uniform> PartialOrd<Element<T>> for Element<T> where
T::Align: PartialOrd,
impl<T: PartialOrd + Uniform> PartialOrd<Element<T>> for Element<T> where
T::Align: PartialOrd,
sourcefn partial_cmp(&self, other: &Element<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &Element<T>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<T: Copy + Uniform> Copy for Element<T> where
T::Align: Copy,
impl<T: Eq + Uniform> Eq for Element<T> where
T::Align: Eq,
impl<T: Uniform> StructuralEq for Element<T>
impl<T: Uniform> StructuralPartialEq for Element<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Element<T> where
T: RefUnwindSafe,
<T as Uniform>::Align: RefUnwindSafe,
impl<T> Send for Element<T> where
T: Send,
<T as Uniform>::Align: Send,
impl<T> Sync for Element<T> where
T: Sync,
<T as Uniform>::Align: Sync,
impl<T> Unpin for Element<T> where
T: Unpin,
<T as Uniform>::Align: Unpin,
impl<T> UnwindSafe for Element<T> where
T: UnwindSafe,
<T as Uniform>::Align: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more