Struct balena_temen::ast::FunctionCall
source · pub struct FunctionCall {
pub name: String,
pub args: HashMap<String, Expression>,
}
Expand description
A function call
Fields
name: String
A function name
args: HashMap<String, Expression>
A function arguments (kwargs style, see Python)
Implementations
sourceimpl FunctionCall
impl FunctionCall
sourcepub fn new<S>(name: S, args: HashMap<String, Expression>) -> FunctionCallwhere
S: Into<String>,
pub fn new<S>(name: S, args: HashMap<String, Expression>) -> FunctionCallwhere
S: Into<String>,
Creates new function call
Arguments
name
- A function nameargs
- A function arguments (empty map allowed)
Trait Implementations
sourceimpl Clone for FunctionCall
impl Clone for FunctionCall
sourcefn clone(&self) -> FunctionCall
fn clone(&self) -> FunctionCall
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FunctionCall
impl Debug for FunctionCall
sourceimpl PartialEq<FunctionCall> for FunctionCall
impl PartialEq<FunctionCall> for FunctionCall
sourcefn eq(&self, other: &FunctionCall) -> bool
fn eq(&self, other: &FunctionCall) -> bool
impl StructuralPartialEq for FunctionCall
Auto Trait Implementations
impl RefUnwindSafe for FunctionCall
impl Send for FunctionCall
impl Sync for FunctionCall
impl Unpin for FunctionCall
impl UnwindSafe for FunctionCall
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