Enum vulkano::shader::spirv::SpirvError [−][src]
pub enum SpirvError {
BadLayout {
index: usize,
},
DuplicateId {
id: Id,
first_index: usize,
second_index: usize,
},
GroupDecorateNotGroup {
index: usize,
},
IdOutOfBounds {
id: Id,
index: usize,
bound: u32,
},
InvalidHeader,
MemoryModelInvalid,
ParseError(ParseError),
}
Expand description
Error that can happen when reading a SPIR-V module.
Variants
BadLayout
Fields
index: usize
DuplicateId
GroupDecorateNotGroup
Fields
index: usize
IdOutOfBounds
InvalidHeader
MemoryModelInvalid
ParseError(ParseError)
Tuple Fields
0: ParseError
Trait Implementations
Performs the conversion.
Performs the conversion.
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
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.