Struct luminance::shader::program::UniformUpdate [] [src]

pub struct UniformUpdate<'a, T> { /* fields omitted */ }

Wrapper over Uniform, discarding everything but update.

Among its features, this type enables you to contramap a function to build more interesting UniformUpdate.

Use From or Into to build a UniformUpdate.

Methods

impl<'a, T> UniformUpdate<'a, T> where T: 'a
[src]

Update the underlying Uniform.

Apply a contravariant functor.

Trait Implementations

impl<'a, C, T> From<Uniform<C, T>> for UniformUpdate<'a, T> where C: 'a + HasUniform, T: 'a + Uniformable<C>
[src]

Performs the conversion.