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

Method emit_with_cursor

crates/rustc_codegen_spirv/src/codegen_cx/mod.rs:151–156  ·  view source on GitHub ↗

See comment on `BuilderCursor`

(
        &self,
        cursor: BuilderCursor,
    )

Source from the content-addressed store, hash-verified

149
150 /// See comment on `BuilderCursor`
151 pub fn emit_with_cursor(
152 &self,
153 cursor: BuilderCursor,
154 ) -> std::cell::RefMut<'_, rspirv::dr::Builder> {
155 self.builder.builder(cursor)
156 }
157
158 #[track_caller]
159 pub fn lookup_type(&self, ty: Word) -> SpirvType<'tcx> {

Callers 5

insert_instMethod · 0.80
emitMethod · 0.80
buildMethod · 0.80
append_blockMethod · 0.80
append_sibling_blockMethod · 0.80

Calls 1

builderMethod · 0.80

Tested by

no test coverage detected