Enum spirt::spv::write::OperandEmitError
source · enum OperandEmitError {
NotEnoughImms,
NotEnoughIds,
TooManyImms,
TooManyIds,
UnsupportedEnumerand(OperandKind, u32),
}
Variants§
NotEnoughImms
Ran out of immediates while emitting an instruction’s operands.
NotEnoughIds
Ran out of IDs while emitting an instruction’s operands.
TooManyImms
Extra immediates were left over, after emitting an instruction’s operands.
TooManyIds
Extra IDs were left over, after emitting an instruction’s operands.
UnsupportedEnumerand(OperandKind, u32)
Unsupported enumerand value.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for OperandEmitError
impl Send for OperandEmitError
impl Sync for OperandEmitError
impl Unpin for OperandEmitError
impl UnwindSafe for OperandEmitError
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