pub struct AnonymousFunctionNode {
pub is_ref: bool,
pub parameters: Vec<Box<Node>>,
pub uses: Vec<Box<Node>>,
pub return_type: Option<Box<Node>>,
pub body: Box<Node>,
}Fields§
§is_ref: bool§parameters: Vec<Box<Node>>§uses: Vec<Box<Node>>§return_type: Option<Box<Node>>§body: Box<Node>Implementations§
Source§impl AnonymousFunctionNode
impl AnonymousFunctionNode
pub fn make( is_ref: bool, parameters: Vec<Box<Node>>, uses: Vec<Box<Node>>, return_type: Option<Box<Node>>, body: Box<Node>, ) -> Box<Node>
pub fn loc( is_ref: bool, parameters: Vec<Box<Node>>, uses: Vec<Box<Node>>, return_type: Option<Box<Node>>, body: Box<Node>, loc: Option<RangeLocation>, ) -> Box<Node>
Trait Implementations§
Source§impl Clone for AnonymousFunctionNode
impl Clone for AnonymousFunctionNode
Source§fn clone(&self) -> AnonymousFunctionNode
fn clone(&self) -> AnonymousFunctionNode
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 AnonymousFunctionNode
impl Debug for AnonymousFunctionNode
Source§impl<'de> Deserialize<'de> for AnonymousFunctionNode
impl<'de> Deserialize<'de> for AnonymousFunctionNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnonymousFunctionNode
impl PartialEq for AnonymousFunctionNode
Source§impl Serialize for AnonymousFunctionNode
impl Serialize for AnonymousFunctionNode
impl StructuralPartialEq for AnonymousFunctionNode
Auto Trait Implementations§
impl Freeze for AnonymousFunctionNode
impl RefUnwindSafe for AnonymousFunctionNode
impl Send for AnonymousFunctionNode
impl Sync for AnonymousFunctionNode
impl Unpin for AnonymousFunctionNode
impl UnwindSafe for AnonymousFunctionNode
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