pub enum FunctionBody {
Block(Block),
Defaulted,
Deleted,
None,
}Expand description
What follows a function’s signature.
Variants§
Trait Implementations§
Source§impl Clone for FunctionBody
impl Clone for FunctionBody
Source§impl Debug for FunctionBody
impl Debug for FunctionBody
impl Eq for FunctionBody
Source§impl PartialEq for FunctionBody
impl PartialEq for FunctionBody
impl StructuralPartialEq for FunctionBody
Auto Trait Implementations§
impl Freeze for FunctionBody
impl RefUnwindSafe for FunctionBody
impl Send for FunctionBody
impl Sync for FunctionBody
impl Unpin for FunctionBody
impl UnsafeUnpin for FunctionBody
impl UnwindSafe for FunctionBody
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