Struct nannou::ui::backend::glium::glium::program::Uniform [−][src]
pub struct Uniform { pub location: i32, pub ty: UniformType, pub size: Option<usize>, }
Information about a uniform (except its name).
Fields
location: i32
The location of the uniform.
This is internal information, you probably don't need to use it.
ty: UniformType
Type of the uniform.
size: Option<usize>
If it is an array, the number of elements.
Trait Implementations
impl Clone for Uniform
[src]
impl Clone for Uniform
fn clone(&self) -> Uniform
[src]
fn clone(&self) -> Uniform
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 Uniform
[src]
impl Debug for Uniform
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 Uniform
[src]
impl Copy for Uniform