pub trait CompileReflectShader<T, C>: CompileShader<T, Options = <T as FromCompilation<C>>::Options, Context = <T as FromCompilation<C>>::Context> + ReflectShaderwhere
    T: FromCompilation<C> + OutputTarget,{ }
Expand description

Marker trait for combinations of targets and compilations that can be reflected and compiled successfully.

This trait is automatically implemented for reflected outputs that have FromCompilation implement for a given target that also implement CompileShader for that target.

Implementors§

source§

impl<T, C, O> CompileReflectShader<T, C> for Owhere T: OutputTarget + FromCompilation<C>, O: ReflectShader + CompileShader<T, Options = <T as FromCompilation<C>>::Options, Context = <T as FromCompilation<C>>::Context>,