Enum vulkano::shader::spirv::SpirvError
source · pub enum SpirvError {
DuplicateId {
id: Id,
},
InvalidHeader,
ParseError(ParseError),
}
Expand description
Error that can happen when reading a SPIR-V module.
Variants§
Trait Implementations§
source§impl Clone for SpirvError
impl Clone for SpirvError
source§fn clone(&self) -> SpirvError
fn clone(&self) -> SpirvError
Returns a copy 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 SpirvError
impl Debug for SpirvError
source§impl Display for SpirvError
impl Display for SpirvError
source§impl Error for SpirvError
impl Error for SpirvError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ParseError> for SpirvError
impl From<ParseError> for SpirvError
source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SpirvError
impl Send for SpirvError
impl Sync for SpirvError
impl Unpin for SpirvError
impl UnwindSafe for SpirvError
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