Struct nannou::ui::backend::glium::glium::program::Attribute [−][src]
pub struct Attribute { pub location: i32, pub ty: AttributeType, pub size: usize, }
Information about an attribute of a program (except its name).
Internal struct. Not public.
Fields
location: i32
The index of the uniform.
This is internal information, you probably don't need to use it.
ty: AttributeType
Type of the attribute.
size: usize
Number of elements of the attribute.
Trait Implementations
impl Clone for Attribute
[src]
impl Clone for Attribute
fn clone(&self) -> Attribute
[src]
fn clone(&self) -> Attribute
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 Debug for Attribute
[src]
impl Debug for Attribute
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Attribute
[src]
impl Copy for Attribute