pub struct BlockResult {
pub stmts: Vec<Stmt>,
pub out_stack: Vec<Expr>,
pub term: Term,
}Fields§
§stmts: Vec<Stmt>Statements produced by this block, in order, covering everything up to (not including) the terminator.
out_stack: Vec<Expr>Value-machine leftovers at block exit — for a stack machine, the operand stack; for a register machine, normally empty. Only the front-end’s own merge handling consumes this.
term: TermTrait Implementations§
Source§impl Clone for BlockResult
impl Clone for BlockResult
Source§fn clone(&self) -> BlockResult
fn clone(&self) -> BlockResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlockResult
impl RefUnwindSafe for BlockResult
impl Send for BlockResult
impl Sync for BlockResult
impl Unpin for BlockResult
impl UnsafeUnpin for BlockResult
impl UnwindSafe for BlockResult
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