Enum cranelift_codegen::cursor::CursorPosition [−][src]
Expand description
The possible positions of a cursor.
Variants
Nowhere
Cursor is not pointing anywhere. No instructions can be inserted.
At(Inst)
Tuple Fields
0: Inst
Cursor is pointing at an existing instruction. New instructions will be inserted before the current instruction.
Before(Block)
Tuple Fields
0: Block
Cursor is before the beginning of a block. No instructions can be inserted. Calling
next_inst()
will move to the first instruction in the block.
After(Block)
Tuple Fields
0: Block
Cursor is pointing after the end of a block. New instructions will be appended to the block.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CursorPosition
impl Send for CursorPosition
impl Sync for CursorPosition
impl Unpin for CursorPosition
impl UnwindSafe for CursorPosition
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.