pub struct FunctionCallArgs<O: PineOutput = DefaultPineOutput> {
pub type_args: Vec<String>,
pub args: Vec<EvaluatedArg<O>>,
pub call_id: u32,
}Expand description
Container for function call arguments including type parameters
Fields§
§type_args: Vec<String>§args: Vec<EvaluatedArg<O>>§call_id: u32Implementations§
Source§impl<O: PineOutput> FunctionCallArgs<O>
impl<O: PineOutput> FunctionCallArgs<O>
pub fn new(type_args: Vec<String>, args: Vec<EvaluatedArg<O>>) -> Self
pub fn without_types(args: Vec<EvaluatedArg<O>>) -> Self
pub fn with_call_id(self, call_id: u32) -> Self
Trait Implementations§
Source§impl<O: Clone + PineOutput> Clone for FunctionCallArgs<O>
impl<O: Clone + PineOutput> Clone for FunctionCallArgs<O>
Source§fn clone(&self) -> FunctionCallArgs<O>
fn clone(&self) -> FunctionCallArgs<O>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<O = DefaultPineOutput> !RefUnwindSafe for FunctionCallArgs<O>
impl<O = DefaultPineOutput> !Send for FunctionCallArgs<O>
impl<O = DefaultPineOutput> !Sync for FunctionCallArgs<O>
impl<O = DefaultPineOutput> !UnwindSafe for FunctionCallArgs<O>
impl<O> Freeze for FunctionCallArgs<O>
impl<O> Unpin for FunctionCallArgs<O>
impl<O> UnsafeUnpin for FunctionCallArgs<O>
Blanket Implementations§
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