Struct wgpu_hal::NagaShader
source · pub struct NagaShader {
pub module: Cow<'static, Module>,
pub info: ModuleInfo,
pub debug_source: Option<DebugSource>,
}
Expand description
Naga shader module.
Fields§
§module: Cow<'static, Module>
Shader module IR.
info: ModuleInfo
Analysis information of the module.
debug_source: Option<DebugSource>
Source codes for debug
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NagaShader
impl RefUnwindSafe for NagaShader
impl Send for NagaShader
impl Sync for NagaShader
impl Unpin for NagaShader
impl UnwindSafe for NagaShader
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