Enum spirt::spv::read::KnownIdDef
source · enum KnownIdDef {
TypeInt(NonZeroU32),
TypeFloat(NonZeroU32),
Uncategorized {
opcode: Opcode,
result_type_id: Option<Id>,
},
}
Expand description
Defining instruction of an ID.
Used currently only to help parsing LiteralContextDependentNumber
.
Variants§
Implementations§
source§impl KnownIdDef
impl KnownIdDef
fn result_type_id(&self) -> Option<Id>
Auto Trait Implementations§
impl RefUnwindSafe for KnownIdDef
impl Send for KnownIdDef
impl Sync for KnownIdDef
impl Unpin for KnownIdDef
impl UnwindSafe for KnownIdDef
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