pub struct ShaderDiag {
pub node: String,
pub source: Option<String>,
pub rule: &'static str,
pub hint: String,
}Expand description
A WGSL problem found while painting.
Fields§
§node: String.name(..), or the node kind and id.
source: Option<String>file:line of the add call, when it was recorded.
rule: &'static strshader_error, param_unknown, or shader_slow.
hint: StringWhat to change.
Trait Implementations§
Source§impl Clone for ShaderDiag
impl Clone for ShaderDiag
Source§impl Debug for ShaderDiag
impl Debug for ShaderDiag
Source§impl PartialEq for ShaderDiag
impl PartialEq for ShaderDiag
impl StructuralPartialEq for ShaderDiag
Auto Trait Implementations§
impl Freeze for ShaderDiag
impl RefUnwindSafe for ShaderDiag
impl Send for ShaderDiag
impl Sync for ShaderDiag
impl Unpin for ShaderDiag
impl UnsafeUnpin for ShaderDiag
impl UnwindSafe for ShaderDiag
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