pub struct LocalFunctionDecl {
pub name: String,
pub func: FunctionBody,
pub span: Span,
}Expand description
local function name (params) body end
Fields§
§name: String§func: FunctionBody§span: SpanTrait Implementations§
Source§impl Clone for LocalFunctionDecl
impl Clone for LocalFunctionDecl
Source§fn clone(&self) -> LocalFunctionDecl
fn clone(&self) -> LocalFunctionDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LocalFunctionDecl
impl RefUnwindSafe for LocalFunctionDecl
impl Send for LocalFunctionDecl
impl Sync for LocalFunctionDecl
impl Unpin for LocalFunctionDecl
impl UnsafeUnpin for LocalFunctionDecl
impl UnwindSafe for LocalFunctionDecl
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