pub enum ShaderError {
Validator(ValidatorError),
DiagnosticList(ShaderDiagnosticList),
}
Variants§
Validator(ValidatorError)
DiagnosticList(ShaderDiagnosticList)
Trait Implementations§
Source§impl From<ShaderError> for ValidatorError
impl From<ShaderError> for ValidatorError
Source§fn from(value: ShaderError) -> Self
fn from(value: ShaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShaderError
impl !RefUnwindSafe for ShaderError
impl Send for ShaderError
impl Sync for ShaderError
impl Unpin for ShaderError
impl !UnwindSafe for ShaderError
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