pub struct FunctionCall<Recv, Name, Args> {
pub receiver: Recv,
pub is_assoc: bool,
pub name: Name,
pub args: Args,
}Expand description
Performs a call to a function inside code.
Fields§
§receiver: RecvThe function receiver
is_assoc: boolWhether the function is associated, false if it’s a method
name: NameThe function name
args: ArgsThe arguments. Must be a sequence
Trait Implementations§
Source§impl<Recv: Clone, Name: Clone, Args: Clone> Clone for FunctionCall<Recv, Name, Args>
impl<Recv: Clone, Name: Clone, Args: Clone> Clone for FunctionCall<Recv, Name, Args>
Source§fn clone(&self) -> FunctionCall<Recv, Name, Args>
fn clone(&self) -> FunctionCall<Recv, Name, Args>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<O: Output, Recv, FuncName, Args> Writable<O> for FunctionCall<Recv, FuncName, Args>
impl<O: Output, Recv, FuncName, Args> Writable<O> for FunctionCall<Recv, FuncName, Args>
Auto Trait Implementations§
impl<Recv, Name, Args> Freeze for FunctionCall<Recv, Name, Args>
impl<Recv, Name, Args> RefUnwindSafe for FunctionCall<Recv, Name, Args>
impl<Recv, Name, Args> Send for FunctionCall<Recv, Name, Args>
impl<Recv, Name, Args> Sync for FunctionCall<Recv, Name, Args>
impl<Recv, Name, Args> Unpin for FunctionCall<Recv, Name, Args>
impl<Recv, Name, Args> UnwindSafe for FunctionCall<Recv, Name, Args>
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