Struct spirt::spv::InstWithIds
source · pub struct InstWithIds {
pub without_ids: Inst,
pub result_type_id: Option<Id>,
pub result_id: Option<Id>,
pub ids: SmallVec<[Id; 4]>,
}
Expand description
A full SPIR-V instruction (like Inst
, but including input/output ID operands).
Fields§
§without_ids: Inst
§result_type_id: Option<Id>
§result_id: Option<Id>
§ids: SmallVec<[Id; 4]>
Trait Implementations§
source§impl Deref for InstWithIds
impl Deref for InstWithIds
Auto Trait Implementations§
impl RefUnwindSafe for InstWithIds
impl Send for InstWithIds
impl Sync for InstWithIds
impl Unpin for InstWithIds
impl UnwindSafe for InstWithIds
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