Struct kodept_core::structure::rlt::BodiedFunction   
source · pub struct BodiedFunction {
    pub keyword: Keyword,
    pub id: Identifier,
    pub params: Option<Enclosed<Box<[Parameter]>>>,
    pub return_type: Option<(Symbol, Type)>,
    pub body: Box<Body>,
}Fields§
§keyword: Keyword§id: Identifier§params: Option<Enclosed<Box<[Parameter]>>>§return_type: Option<(Symbol, Type)>§body: Box<Body>Trait Implementations§
source§impl Clone for BodiedFunction
 
impl Clone for BodiedFunction
source§fn clone(&self) -> BodiedFunction
 
fn clone(&self) -> BodiedFunction
Returns a copy 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 BodiedFunction
 
impl Debug for BodiedFunction
source§impl From<BodiedFunction> for BlockLevelNode
 
impl From<BodiedFunction> for BlockLevelNode
source§fn from(original: BodiedFunction) -> BlockLevelNode
 
fn from(original: BodiedFunction) -> BlockLevelNode
Converts to this type from the input type.
source§impl From<BodiedFunction> for Function
 
impl From<BodiedFunction> for Function
source§fn from(original: BodiedFunction) -> Function
 
fn from(original: BodiedFunction) -> Function
Converts to this type from the input type.
source§impl From<BodiedFunction> for TopLevelNode
 
impl From<BodiedFunction> for TopLevelNode
source§fn from(original: BodiedFunction) -> TopLevelNode
 
fn from(original: BodiedFunction) -> TopLevelNode
Converts to this type from the input type.
source§impl PartialEq for BodiedFunction
 
impl PartialEq for BodiedFunction
source§fn eq(&self, other: &BodiedFunction) -> bool
 
fn eq(&self, other: &BodiedFunction) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BodiedFunction
Auto Trait Implementations§
impl Freeze for BodiedFunction
impl RefUnwindSafe for BodiedFunction
impl Send for BodiedFunction
impl Sync for BodiedFunction
impl Unpin for BodiedFunction
impl UnwindSafe for BodiedFunction
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