pub struct FunctionCallExpression {
pub name: String,
pub parameters: Vec<Expression>,
}Expand description
A call of a foreign function.
Fields§
§name: String§parameters: Vec<Expression>Implementations§
Source§impl FunctionCallExpression
impl FunctionCallExpression
pub fn new(name: impl Into<String>, parameters: Vec<Expression>) -> Self
pub fn evaluate( &self, context: &ExpressionEvaluationContext<'_>, ) -> ExpressionVariant
pub fn collect_references(&self, references: &mut HashSet<(String, String)>)
Trait Implementations§
Source§impl Clone for FunctionCallExpression
impl Clone for FunctionCallExpression
Source§impl Debug for FunctionCallExpression
impl Debug for FunctionCallExpression
Source§impl Display for FunctionCallExpression
impl Display for FunctionCallExpression
Source§impl From<FunctionCallExpression> for Expression
impl From<FunctionCallExpression> for Expression
Source§fn from(value: FunctionCallExpression) -> Expression
fn from(value: FunctionCallExpression) -> Expression
Converts to this type from the input type.
Source§impl PartialEq for FunctionCallExpression
impl PartialEq for FunctionCallExpression
impl StructuralPartialEq for FunctionCallExpression
Auto Trait Implementations§
impl Freeze for FunctionCallExpression
impl RefUnwindSafe for FunctionCallExpression
impl Send for FunctionCallExpression
impl Sync for FunctionCallExpression
impl Unpin for FunctionCallExpression
impl UnsafeUnpin for FunctionCallExpression
impl UnwindSafe for FunctionCallExpression
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more