Enum uni_gl::VertexAttrib
source · [−]pub enum VertexAttrib {
Current,
ArrayEnabled,
ArraySize,
ArrayStride,
ArrayType,
ArrayNormalized,
ArrayPointer,
ArrayBufferBinding,
}
Expand description
Constants passed to WebGLRenderingContext.getVertexAttrib().
Variants
Current
Passed to getVertexAttrib to read back the current vertex attribute.
ArrayEnabled
ArraySize
ArrayStride
ArrayType
ArrayNormalized
ArrayPointer
ArrayBufferBinding
Trait Implementations
sourceimpl Clone for VertexAttrib
impl Clone for VertexAttrib
sourcefn clone(&self) -> VertexAttrib
fn clone(&self) -> VertexAttrib
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VertexAttrib
impl Debug for VertexAttrib
impl Copy for VertexAttrib
Auto Trait Implementations
impl RefUnwindSafe for VertexAttrib
impl Send for VertexAttrib
impl Sync for VertexAttrib
impl Unpin for VertexAttrib
impl UnwindSafe for VertexAttrib
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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