Struct vulkano::spirv::ParseError [−][src]
pub struct ParseError {
pub instruction: usize,
pub word: usize,
pub error: ParseErrors,
pub words: Vec<u32>,
}
Expand description
Error that can happen when parsing SPIR-V instructions into Rust data structures.
Fields
instruction: usize
The instruction number the error happened at, starting from 0.
word: usize
The word from the start of the instruction that the error happened at, starting from 0.
error: ParseErrors
The error.
words: Vec<u32>
The words of the instruction.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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.