pub enum CallPlan {
Dynamic,
Function(String),
Builtin(String),
Wrapper(WrapperKind),
NoneValue,
TypeConstructor {
qualified_type_name: String,
variant_name: String,
},
}Variants§
Dynamic
Runtime value call: callee is not a statically known Aver function/builtin/ctor path.
Function(String)
Source-level function name, either bare (fib) or fully-qualified (Data.Fib.fib).
Builtin(String)
Namespace builtin/service call like List.len, Console.print, SelfHostRuntime.*.
Wrapper(WrapperKind)
Wrapper constructor lowering such as Result.Ok, Result.Err, Option.Some.
NoneValue
Constant constructor value Option.None.
TypeConstructor
User-defined variant constructor such as Shape.Circle or Domain.Shape.Circle.
Trait Implementations§
impl Eq for CallPlan
impl StructuralPartialEq for CallPlan
Auto Trait Implementations§
impl Freeze for CallPlan
impl RefUnwindSafe for CallPlan
impl Send for CallPlan
impl Sync for CallPlan
impl Unpin for CallPlan
impl UnsafeUnpin for CallPlan
impl UnwindSafe for CallPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.