Rebuild this cursor positioned at the last instruction in `block`. This is intended to be used as a builder method: ``` # use cranelift_codegen::ir::{Function, Block, Inst}; # use cranelift_codegen::cursor::{Cursor, FuncCursor}; fn edit_func(func: &mut Function, block: Block) { let mut pos = FuncCursor::new(func).at_last_inst(block); // Use `pos`... } ```
(mut self, block: ir::Block)
| 149 | /// } |
| 150 | /// ``` |
| 151 | fn at_last_inst(mut self, block: ir::Block) -> Self |
| 152 | where |
| 153 | Self: Sized, |
| 154 | { |
| 155 | self.goto_last_inst(block); |
| 156 | self |
| 157 | } |
| 158 | |
| 159 | /// Rebuild this cursor positioned after `inst`. |
| 160 | /// |
nothing calls this directly
no test coverage detected