pub enum ResolvedBodyPlan<'a> {
SingleExpr(ResolvedBodyExprPlan<'a>),
Block {
stmts: &'a [ResolvedStmt],
bindings: Vec<ResolvedBodyBindingPlan<'a>>,
tail: ResolvedBodyExprPlan<'a>,
},
}Expand description
Resolved-form mirror of crate::ir::BodyPlan.
Variants§
SingleExpr(ResolvedBodyExprPlan<'a>)
Block
Fields
§
stmts: &'a [ResolvedStmt]§
bindings: Vec<ResolvedBodyBindingPlan<'a>>§
tail: ResolvedBodyExprPlan<'a>Auto Trait Implementations§
impl<'a> Freeze for ResolvedBodyPlan<'a>
impl<'a> RefUnwindSafe for ResolvedBodyPlan<'a>
impl<'a> Send for ResolvedBodyPlan<'a>
impl<'a> Sync for ResolvedBodyPlan<'a>
impl<'a> Unpin for ResolvedBodyPlan<'a>
impl<'a> UnsafeUnpin for ResolvedBodyPlan<'a>
impl<'a> UnwindSafe for ResolvedBodyPlan<'a>
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