pub enum VertexAttrib {
Current = 34_342,
ArrayEnabled = 34_338,
ArraySize = 34_339,
ArrayStride = 34_340,
ArrayType = 34_341,
ArrayNormalized = 34_922,
ArrayPointer = 34_373,
ArrayBufferBinding = 34_975,
}
Expand description
Constants passed to WebGLRenderingContext.getVertexAttrib().
Variants§
Current = 34_342
Passed to getVertexAttrib to read back the current vertex attribute.
ArrayEnabled = 34_338
ArraySize = 34_339
ArrayStride = 34_340
ArrayType = 34_341
ArrayNormalized = 34_922
ArrayPointer = 34_373
ArrayBufferBinding = 34_975
Trait Implementations§
Source§impl Clone for VertexAttrib
impl Clone for VertexAttrib
Source§fn clone(&self) -> VertexAttrib
fn clone(&self) -> VertexAttrib
Returns a copy 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 VertexAttrib
impl Debug for VertexAttrib
impl Copy for VertexAttrib
Auto Trait Implementations§
impl Freeze for VertexAttrib
impl RefUnwindSafe for VertexAttrib
impl Send for VertexAttrib
impl Sync for VertexAttrib
impl Unpin for VertexAttrib
impl UnwindSafe for VertexAttrib
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