pub struct CompiledCall {
pub method: BuiltinMethod,
pub name: Arc<str>,
pub sub_progs: Arc<[Arc<Program>]>,
pub orig_args: Arc<[Arg]>,
}Expand description
A compiled method call stored inside Opcode::CallMethod.
Fields§
§method: BuiltinMethod§name: Arc<str>§sub_progs: Arc<[Arc<Program>]>Compiled lambda/expression sub-programs (one per arg, in order).
orig_args: Arc<[Arg]>Original AST args kept for non-lambda dispatch fallback.
Trait Implementations§
Source§impl Clone for CompiledCall
impl Clone for CompiledCall
Source§fn clone(&self) -> CompiledCall
fn clone(&self) -> CompiledCall
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 moreAuto Trait Implementations§
impl Freeze for CompiledCall
impl RefUnwindSafe for CompiledCall
impl Send for CompiledCall
impl Sync for CompiledCall
impl Unpin for CompiledCall
impl UnsafeUnpin for CompiledCall
impl UnwindSafe for CompiledCall
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