pub enum FnBody {
Expr(Expr),
Block(Vec<Stmt>),
}Variants§
Trait Implementations§
impl StructuralPartialEq for FnBody
Auto Trait Implementations§
impl Freeze for FnBody
impl RefUnwindSafe for FnBody
impl Send for FnBody
impl Sync for FnBody
impl Unpin for FnBody
impl UnsafeUnpin for FnBody
impl UnwindSafe for FnBody
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