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