Struct librashader_reflect::back::ShaderCompilerOutput
source · pub struct ShaderCompilerOutput<T, Context = ()> {
pub vertex: T,
pub fragment: T,
pub context: Context,
}Expand description
The output of the shader compiler.
Fields§
§vertex: TThe output for the vertex shader.
fragment: TThe output for the fragment shader.
context: ContextAdditional context provided by the shader compiler.
Trait Implementations§
Auto Trait Implementations§
impl<T, Context> RefUnwindSafe for ShaderCompilerOutput<T, Context>where
Context: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Context> Send for ShaderCompilerOutput<T, Context>
impl<T, Context> Sync for ShaderCompilerOutput<T, Context>
impl<T, Context> Unpin for ShaderCompilerOutput<T, Context>
impl<T, Context> UnwindSafe for ShaderCompilerOutput<T, Context>where
Context: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more