Trait crispy::uniforms::ExtendUniforms

source ·
pub trait ExtendUniforms<'n> {
    // Required method
    fn add<U: AsUniformValue>(
        self,
        name: &'n str,
        value: U,
    ) -> UniformsStorage<'n, U, impl Uniforms>;
}

Required Methods§

source

fn add<U: AsUniformValue>( self, name: &'n str, value: U, ) -> UniformsStorage<'n, U, impl Uniforms>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'n> ExtendUniforms<'n> for EmptyUniforms

source§

fn add<U: AsUniformValue>( self, name: &'n str, value: U, ) -> UniformsStorage<'n, U, impl Uniforms>

source§

impl<'n, T: AsUniformValue, U: Uniforms> ExtendUniforms<'n> for UniformsStorage<'n, T, U>

source§

fn add<V: AsUniformValue>( self, name: &'n str, value: V, ) -> UniformsStorage<'n, V, impl Uniforms>

Implementors§