Struct gl_helpers::GLAttribute [−][src]
pub struct GLAttribute { /* fields omitted */ }
Methods
impl GLAttribute
[src]
impl GLAttribute
pub fn new(kind: AttributeKind, count: usize, location: usize) -> Self
[src]
pub fn new(kind: AttributeKind, count: usize, location: usize) -> Self
pub fn kind(&self) -> AttributeKind
[src]
pub fn kind(&self) -> AttributeKind
pub fn count(&self) -> usize
[src]
pub fn count(&self) -> usize
pub fn item_count(&self) -> usize
[src]
pub fn item_count(&self) -> usize
pub fn item_kind(&self) -> DataKind
[src]
pub fn item_kind(&self) -> DataKind
pub fn location(&self) -> usize
[src]
pub fn location(&self) -> usize
Trait Implementations
impl Debug for GLAttribute
[src]
impl Debug for GLAttribute
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GLAttribute
[src]
impl Clone for GLAttribute
fn clone(&self) -> GLAttribute
[src]
fn clone(&self) -> GLAttribute
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Hash for GLAttribute
[src]
impl Hash for GLAttribute
Auto Trait Implementations
impl Send for GLAttribute
impl Send for GLAttribute
impl Sync for GLAttribute
impl Sync for GLAttribute