Struct hcl::FuncCallBuilder
source · [−]pub struct FuncCallBuilder { /* private fields */ }
Expand description
A builder for function calls.
Implementations
sourceimpl 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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FuncCallBuilder
impl Send for FuncCallBuilder
impl Sync for FuncCallBuilder
impl Unpin for FuncCallBuilder
impl UnwindSafe for FuncCallBuilder
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