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 Copy for Attribute
[src]

impl Clone for Attribute
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Attribute
[src]

[src]

Formats the value using the given formatter.