[][src]Struct glium::program::Attribute

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

impl Debug for Attribute[src]

Auto Trait Implementations

impl RefUnwindSafe for Attribute

impl Send for Attribute

impl Sync for Attribute

impl Unpin for Attribute

impl UnwindSafe for Attribute

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.