Struct librashader_reflect::front::Glslang
source · pub struct Glslang;Expand description
glslang compiler
Trait Implementations§
source§impl ShaderInputCompiler<SpirvCompilation> for Glslang
impl ShaderInputCompiler<SpirvCompilation> for Glslang
source§fn compile(
source: &ShaderSource
) -> Result<SpirvCompilation, ShaderCompileError>
fn compile( source: &ShaderSource ) -> Result<SpirvCompilation, ShaderCompileError>
Compile the input shader source file into a compilation unit.
Auto Trait Implementations§
impl RefUnwindSafe for Glslang
impl Send for Glslang
impl Sync for Glslang
impl Unpin for Glslang
impl UnwindSafe for Glslang
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