MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / index_set

Method index_set

crates/rustc_codegen_spirv/src/linker/specializer.rs:395–400  ·  view source on GitHub ↗
(&mut self, idx: OperandIdx, operand: Operand)

Source from the content-addressed store, hash-verified

393 }
394 }
395 fn index_set(&mut self, idx: OperandIdx, operand: Operand) {
396 match idx {
397 OperandIdx::ResultType => self.result_type = Some(operand.unwrap_id_ref()),
398 OperandIdx::Input(i) => self.operands[i] = operand,
399 }
400 }
401}
402
403#[derive(Copy, Clone, Debug, PartialEq, Eq)]

Callers 2

specializeFunction · 0.80
expand_moduleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected