pub struct BlockCall {
pub block: Block,
pub args: Vec<Reg>,
}Expand description
One arm of a terminator: where it goes, and what it takes with it.
The arguments are the values the target block’s parameters arrive as, so this is the edge on which a phi would otherwise sit. After allocation the parameters are physical registers and these arguments have become the moves that write them, which is the point at which MIR stops being in SSA form.
Fields§
§block: BlockThe block it goes to.
args: Vec<Reg>What its parameters arrive as, one for one.
Implementations§
Trait Implementations§
impl Eq for BlockCall
impl StructuralPartialEq for BlockCall
Auto Trait Implementations§
impl Freeze for BlockCall
impl RefUnwindSafe for BlockCall
impl Send for BlockCall
impl Sync for BlockCall
impl Unpin for BlockCall
impl UnsafeUnpin for BlockCall
impl UnwindSafe for BlockCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more