Struct hcl::expr::FuncCallBuilder
source · pub struct FuncCallBuilder { /* private fields */ }
Expand description
A builder for function calls.
Implementations§
source§impl FuncCallBuilder
impl FuncCallBuilder
sourcepub fn arg<T>(self, arg: T) -> FuncCallBuilderwhere
T: Into<Expression>,
pub fn arg<T>(self, arg: T) -> FuncCallBuilderwhere
T: Into<Expression>,
Adds an argument to the function call.
sourcepub fn expand_final(self, yes: bool) -> FuncCallBuilder
pub fn expand_final(self, yes: bool) -> FuncCallBuilder
If true
, the final argument should be an array which will expand to be one argument per
element.