MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / at_position

Method at_position

cranelift/codegen/src/cursor.rs:65–71  ·  view source on GitHub ↗

Rebuild this cursor positioned at `pos`.

(mut self, pos: CursorPosition)

Source from the content-addressed store, hash-verified

63
64 /// Rebuild this cursor positioned at `pos`.
65 fn at_position(mut self, pos: CursorPosition) -> Self
66 where
67 Self: Sized,
68 {
69 self.set_position(pos);
70 self
71 }
72
73 /// Rebuild this cursor positioned at `inst`.
74 ///

Callers 1

rewriteMethod · 0.80

Implementers 2

cursor.rscranelift/codegen/src/cursor.rs
layout.rscranelift/codegen/src/ir/layout.rs

Calls 1

set_positionMethod · 0.45

Tested by

no test coverage detected