pub struct ShaderDiagnostic {
pub severity: ShaderDiagnosticSeverity,
pub error: String,
pub range: ShaderFileRange,
}Fields§
§severity: ShaderDiagnosticSeverity§error: String§range: ShaderFileRangeTrait Implementations§
Source§impl Clone for ShaderDiagnostic
impl Clone for ShaderDiagnostic
Source§fn clone(&self) -> ShaderDiagnostic
fn clone(&self) -> ShaderDiagnostic
Returns a duplicate 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 ShaderDiagnostic
impl Debug for ShaderDiagnostic
Source§impl From<ShaderDiagnostic> for ShaderDiagnosticList
impl From<ShaderDiagnostic> for ShaderDiagnosticList
Source§fn from(err: ShaderDiagnostic) -> Self
fn from(err: ShaderDiagnostic) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShaderDiagnostic
impl RefUnwindSafe for ShaderDiagnostic
impl Send for ShaderDiagnostic
impl Sync for ShaderDiagnostic
impl Unpin for ShaderDiagnostic
impl UnwindSafe for ShaderDiagnostic
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