pub struct MetaCallInfo {
pub callee: String,
pub builtin: Option<BuiltinMetaCallKind>,
pub arg_types: Vec<Option<MetaType>>,
pub expected_arg_kinds: Option<Vec<MetaArgKind>>,
pub result_type: Option<MetaType>,
}Expand description
Staged semantic facts for a meta call expression.
Fields§
§callee: StringCallee name resolved from the call site.
builtin: Option<BuiltinMetaCallKind>Whether the callee is a known builtin meta function.
arg_types: Vec<Option<MetaType>>Staged argument kinds at the call site.
expected_arg_kinds: Option<Vec<MetaArgKind>>Expected argument kinds for known builtin calls.
result_type: Option<MetaType>Best-known staged result type for the call.
Trait Implementations§
Source§impl Clone for MetaCallInfo
impl Clone for MetaCallInfo
Source§fn clone(&self) -> MetaCallInfo
fn clone(&self) -> MetaCallInfo
Returns a copy 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 Debug for MetaCallInfo
impl Debug for MetaCallInfo
Source§impl PartialEq for MetaCallInfo
impl PartialEq for MetaCallInfo
impl Eq for MetaCallInfo
impl StructuralPartialEq for MetaCallInfo
Auto Trait Implementations§
impl Freeze for MetaCallInfo
impl RefUnwindSafe for MetaCallInfo
impl Send for MetaCallInfo
impl Sync for MetaCallInfo
impl Unpin for MetaCallInfo
impl UnwindSafe for MetaCallInfo
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more