pub struct LocalFunctionDef {
pub name: String,
pub body: FunctionBody,
}Expand description
Represents a local function definition.
Fields§
§name: String§body: FunctionBodyTrait Implementations§
Source§impl Clone for LocalFunctionDef
impl Clone for LocalFunctionDef
Source§fn clone(&self) -> LocalFunctionDef
fn clone(&self) -> LocalFunctionDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalFunctionDef
impl Debug for LocalFunctionDef
Source§impl PartialEq for LocalFunctionDef
impl PartialEq for LocalFunctionDef
impl StructuralPartialEq for LocalFunctionDef
Auto Trait Implementations§
impl Freeze for LocalFunctionDef
impl RefUnwindSafe for LocalFunctionDef
impl Send for LocalFunctionDef
impl Sync for LocalFunctionDef
impl Unpin for LocalFunctionDef
impl UnwindSafe for LocalFunctionDef
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