pub struct FuncCall {
pub name: Ident,
pub args: Vec<Node>,
pub named_args: HashMap<Ident, Box<Node>>,
}
Expand description
Function call.
Note that named_args
cannot be determined during parsing, but only during resolving.
Until then, they are stored in args as named expression.
Fields
name: Ident
args: Vec<Node>
named_args: HashMap<Ident, Box<Node>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FuncCall
impl<'de> Deserialize<'de> for FuncCall
sourcefn 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
impl StructuralPartialEq for FuncCall
Auto Trait Implementations
impl RefUnwindSafe for FuncCall
impl Send for FuncCall
impl Sync for FuncCall
impl Unpin for FuncCall
impl UnwindSafe for FuncCall
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more