Struct gl_helpers::GLVertex
[−]
[src]
pub struct GLVertex { /* fields omitted */ }
Methods
impl GLVertex
[src]
fn new(
location: usize,
item_count: usize,
kind: DataKind,
stride: usize,
offset: usize
) -> Self
[src]
location: usize,
item_count: usize,
kind: DataKind,
stride: usize,
offset: usize
) -> Self
fn location(&self) -> usize
[src]
fn item_count(&self) -> usize
[src]
fn kind(&self) -> DataKind
[src]
fn stride(&self) -> usize
[src]
fn offset(&self) -> usize
[src]
fn enable(&self) -> &Self
[src]
fn disable(&self) -> &Self
[src]
fn bind(&self) -> &Self
[src]
Trait Implementations
impl Debug for GLVertex
[src]
impl Clone for GLVertex
[src]
fn clone(&self) -> GLVertex
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more