pub enum ClosureBody {
Expr(ExprId),
Block(StmtId),
}Variants§
Trait Implementations§
Source§impl Clone for ClosureBody
impl Clone for ClosureBody
Source§impl Debug for ClosureBody
impl Debug for ClosureBody
Source§impl PartialEq for ClosureBody
impl PartialEq for ClosureBody
impl StructuralPartialEq for ClosureBody
Auto Trait Implementations§
impl Freeze for ClosureBody
impl RefUnwindSafe for ClosureBody
impl Send for ClosureBody
impl Sync for ClosureBody
impl Unpin for ClosureBody
impl UnsafeUnpin for ClosureBody
impl UnwindSafe for ClosureBody
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