Enum naga::back::glsl::Error [−][src]
pub enum Error { FmtError(FmtError), MissingFeatures(Features), PushConstantNotSupported, VersionNotSupported, EntryPointNotFound, UnsupportedExternal(String), UnsupportedScalar(ScalarKind, Bytes), PatchInterpolationNotSupported, ImageMultipleSamplers, Custom(String), }
Expand description
A glsl compilation error.
Variants
FmtError(FmtError)
Expand description
A error occurred while writing to the output
MissingFeatures(Features)
Expand description
Expand description
StorageClass::PushConstant
was used and isn’t
supported in the glsl backend
Expand description
The specified Version
isn’t supported
Expand description
The entry point couldn’t be found
UnsupportedExternal(String)
Expand description
A call was made to an unsupported external
UnsupportedScalar(ScalarKind, Bytes)
Expand description
A scalar with an unsupported width was requested
Expand description
Interpolation::Patch
isn’t supported
Expand description
A image was used with multiple samplers, this isn’t supported
Custom(String)
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more