Skip to main content

call_method

Function call_method 

Source
pub fn call_method(
    host: &mut dyn Callable,
    receiver: &Value,
    name: &str,
    args: &mut Vec<Value>,
    span: Span,
) -> Result<Value, RuntimeError>
Expand description

Dispatches receiver.name(args) to a builtin method.