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

The index of the uniform.

This is internal information, you probably don't need to use it.

Type of the attribute.

Number of elements of the attribute.

Trait Implementations

impl Clone for Attribute
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Attribute
[src]

Formats the value using the given formatter. Read more

impl Copy for Attribute
[src]

Auto Trait Implementations

impl Send for Attribute

impl Sync for Attribute