pub enum GlslBlockLayout {
Std140,
Std430,
Shared,
}Expand description
std140 / std430 layout for UBOs.
Variants§
Implementations§
Source§impl GlslBlockLayout
impl GlslBlockLayout
Sourcepub fn qualifier_str(self) -> &'static str
pub fn qualifier_str(self) -> &'static str
Layout qualifier string.
Trait Implementations§
Source§impl Clone for GlslBlockLayout
impl Clone for GlslBlockLayout
Source§fn clone(&self) -> GlslBlockLayout
fn clone(&self) -> GlslBlockLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlslBlockLayout
impl Debug for GlslBlockLayout
Source§impl PartialEq for GlslBlockLayout
impl PartialEq for GlslBlockLayout
impl Copy for GlslBlockLayout
impl Eq for GlslBlockLayout
impl StructuralPartialEq for GlslBlockLayout
Auto Trait Implementations§
impl Freeze for GlslBlockLayout
impl RefUnwindSafe for GlslBlockLayout
impl Send for GlslBlockLayout
impl Sync for GlslBlockLayout
impl Unpin for GlslBlockLayout
impl UnsafeUnpin for GlslBlockLayout
impl UnwindSafe for GlslBlockLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more