[−][src]Struct glium::uniforms::UniformsStorage
Stores uniforms.
Implementations
impl<'n, T> UniformsStorage<'n, T, EmptyUniforms> where
T: AsUniformValue,
[src][−]
T: AsUniformValue,
pub fn new(name: &'n str, value: T) -> UniformsStorage<'n, T, EmptyUniforms>
[src][−]
Builds a new storage with a value.
impl<'n, T, R> UniformsStorage<'n, T, R> where
T: AsUniformValue,
R: Uniforms,
[src][−]
T: AsUniformValue,
R: Uniforms,
pub fn add<U>(
self,
name: &'n str,
value: U
) -> UniformsStorage<'n, U, UniformsStorage<'n, T, R>> where
U: AsUniformValue,
[src][−]
self,
name: &'n str,
value: U
) -> UniformsStorage<'n, U, UniformsStorage<'n, T, R>> where
U: AsUniformValue,
Adds a value to the storage.
Trait Implementations
impl<'n, T, R> Uniforms for UniformsStorage<'n, T, R> where
T: AsUniformValue,
R: Uniforms,
[src][+]
T: AsUniformValue,
R: Uniforms,
Auto Trait Implementations
impl<'n, T, R> RefUnwindSafe for UniformsStorage<'n, T, R> where
R: RefUnwindSafe,
T: RefUnwindSafe,
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<'n, T, R> Send for UniformsStorage<'n, T, R> where
R: Send,
T: Send,
R: Send,
T: Send,
impl<'n, T, R> Sync for UniformsStorage<'n, T, R> where
R: Sync,
T: Sync,
R: Sync,
T: Sync,
impl<'n, T, R> Unpin for UniformsStorage<'n, T, R> where
R: Unpin,
T: Unpin,
R: Unpin,
T: Unpin,
impl<'n, T, R> UnwindSafe for UniformsStorage<'n, T, R> where
R: UnwindSafe,
T: UnwindSafe,
R: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,