pub struct GlVertexAttribF32Layout { /* private fields */ }Implementations§
Source§impl GlVertexAttribF32Layout
impl GlVertexAttribF32Layout
pub const fn tightly_packed(components: GlVertexAttribF32Components) -> Self
pub fn interleaved( components: GlVertexAttribF32Components, stride_f32_count: usize, ) -> Result<Self, String>
pub const fn normalized(self, normalized: bool) -> Self
pub fn with_offset_f32_count( self, offset_f32_count: usize, ) -> Result<Self, String>
pub const fn with_offset_components( self, components: GlVertexAttribF32Components, ) -> Self
pub const fn with_offset(self, offset: GlVertexAttribByteOffset) -> Self
Trait Implementations§
Source§impl Clone for GlVertexAttribF32Layout
impl Clone for GlVertexAttribF32Layout
Source§fn clone(&self) -> GlVertexAttribF32Layout
fn clone(&self) -> GlVertexAttribF32Layout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GlVertexAttribF32Layout
impl Debug for GlVertexAttribF32Layout
Source§impl PartialEq for GlVertexAttribF32Layout
impl PartialEq for GlVertexAttribF32Layout
Source§fn eq(&self, other: &GlVertexAttribF32Layout) -> bool
fn eq(&self, other: &GlVertexAttribF32Layout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GlVertexAttribF32Layout
impl Eq for GlVertexAttribF32Layout
impl StructuralPartialEq for GlVertexAttribF32Layout
Auto Trait Implementations§
impl Freeze for GlVertexAttribF32Layout
impl RefUnwindSafe for GlVertexAttribF32Layout
impl Send for GlVertexAttribF32Layout
impl Sync for GlVertexAttribF32Layout
impl Unpin for GlVertexAttribF32Layout
impl UnsafeUnpin for GlVertexAttribF32Layout
impl UnwindSafe for GlVertexAttribF32Layout
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