Enum shaderc::Error [−][src]
pub enum Error { CompilationError(u32, String), InternalError(String), InvalidStage(String), InvalidAssembly(String), NullResultObject(String), }
Error.
Each enumerants has an affixed string describing detailed reasons for the error. The string can be empty in cases.
Variants
CompilationError(u32, String)
Compilation error.
Contains the number of errors and detailed error string.
InternalError(String)
InvalidStage(String)
InvalidAssembly(String)
NullResultObject(String)
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Error) -> bool
[src]
fn ne(&self, other: &Error) -> bool
This method tests for !=
.
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error