pub struct NilVertexAttrib(pub usize);
Expand description
This vertex attrib provides the given count of vertices, but without data.
It is useful if all the vertex data is included in the shader and anly the gl_VertexID is needed.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl AttribProviderList for NilVertexAttrib
impl AttribProviderList for NilVertexAttrib
Source§impl Clone for NilVertexAttrib
impl Clone for NilVertexAttrib
Source§fn clone(&self) -> NilVertexAttrib
fn clone(&self) -> NilVertexAttrib
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 NilVertexAttrib
impl Debug for NilVertexAttrib
impl Copy for NilVertexAttrib
Auto Trait Implementations§
impl Freeze for NilVertexAttrib
impl RefUnwindSafe for NilVertexAttrib
impl Send for NilVertexAttrib
impl Sync for NilVertexAttrib
impl Unpin for NilVertexAttrib
impl UnwindSafe for NilVertexAttrib
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