pub struct ShaderDiagnosticList {
pub diagnostics: Vec<ShaderDiagnostic>,
}Fields§
§diagnostics: Vec<ShaderDiagnostic>Implementations§
Source§impl ShaderDiagnosticList
impl ShaderDiagnosticList
pub fn empty() -> Self
pub fn push(&mut self, error: ShaderDiagnostic)
pub fn is_empty(&self) -> bool
pub fn join(lhs: ShaderDiagnosticList, rhs: ShaderDiagnosticList) -> Self
Trait Implementations§
Source§impl Clone for ShaderDiagnosticList
impl Clone for ShaderDiagnosticList
Source§fn clone(&self) -> ShaderDiagnosticList
fn clone(&self) -> ShaderDiagnosticList
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 ShaderDiagnosticList
impl Debug for ShaderDiagnosticList
Source§impl Default for ShaderDiagnosticList
impl Default for ShaderDiagnosticList
Source§fn default() -> ShaderDiagnosticList
fn default() -> ShaderDiagnosticList
Returns the “default value” for a type. Read more
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 ShaderDiagnosticList
impl RefUnwindSafe for ShaderDiagnosticList
impl Send for ShaderDiagnosticList
impl Sync for ShaderDiagnosticList
impl Unpin for ShaderDiagnosticList
impl UnwindSafe for ShaderDiagnosticList
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