pub struct ArrowFunctionNode {
pub is_ref: bool,
pub parameters: Vec<Box<Node>>,
pub return_type: Option<Box<Node>>,
pub body: Box<Node>,
}Fields§
§is_ref: bool§parameters: Vec<Box<Node>>§return_type: Option<Box<Node>>§body: Box<Node>Implementations§
Trait Implementations§
Source§impl Clone for ArrowFunctionNode
impl Clone for ArrowFunctionNode
Source§fn clone(&self) -> ArrowFunctionNode
fn clone(&self) -> ArrowFunctionNode
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 ArrowFunctionNode
impl Debug for ArrowFunctionNode
Source§impl<'de> Deserialize<'de> for ArrowFunctionNode
impl<'de> Deserialize<'de> for ArrowFunctionNode
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 ArrowFunctionNode
impl PartialEq for ArrowFunctionNode
Source§impl Serialize for ArrowFunctionNode
impl Serialize for ArrowFunctionNode
impl StructuralPartialEq for ArrowFunctionNode
Auto Trait Implementations§
impl Freeze for ArrowFunctionNode
impl RefUnwindSafe for ArrowFunctionNode
impl Send for ArrowFunctionNode
impl Sync for ArrowFunctionNode
impl Unpin for ArrowFunctionNode
impl UnwindSafe for ArrowFunctionNode
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