Struct wgpu::CompilationInfo
source · pub struct CompilationInfo {
pub messages: Vec<CompilationMessage>,
}
Expand description
Compilation information for a shader module.
Corresponds to WebGPU GPUCompilationInfo
.
The source locations use bytes, and index a UTF-8 encoded string.
Fields§
§messages: Vec<CompilationMessage>
The messages from the shader compilation process.
Trait Implementations§
source§impl Clone for CompilationInfo
impl Clone for CompilationInfo
source§fn clone(&self) -> CompilationInfo
fn clone(&self) -> CompilationInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompilationInfo
impl Debug for CompilationInfo
source§impl From<CreateShaderModuleError> for CompilationInfo
Available on wgpu_core
only.
impl From<CreateShaderModuleError> for CompilationInfo
Available on
wgpu_core
only.source§impl From<ShaderError<ParseError>> for CompilationInfo
Available on crate feature wgsl
and wgpu_core
only.
impl From<ShaderError<ParseError>> for CompilationInfo
Available on crate feature
wgsl
and wgpu_core
only.Auto Trait Implementations§
impl RefUnwindSafe for CompilationInfo
impl Send for CompilationInfo
impl Sync for CompilationInfo
impl Unpin for CompilationInfo
impl UnwindSafe for CompilationInfo
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