pub enum ShaderModule {
Raw(ShaderModule),
Intermediate {
naga_shader: NagaShader,
runtime_checks: bool,
},
}
Available on
vulkan
only.Variants§
Trait Implementations§
Source§impl Debug for ShaderModule
impl Debug for ShaderModule
Source§impl DynResource for ShaderModule
impl DynResource for ShaderModule
impl DynShaderModule for ShaderModule
Auto Trait Implementations§
impl Freeze for ShaderModule
impl RefUnwindSafe for ShaderModule
impl Send for ShaderModule
impl Sync for ShaderModule
impl Unpin for ShaderModule
impl UnwindSafe for ShaderModule
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