pub enum CalleeRef {
Direct(FunctionId),
Indirect(AccessPath),
}Expand description
Reference to a callee from within a function body.
Variants§
Direct(FunctionId)
Direct call to a known function.
Indirect(AccessPath)
Indirect call through a function pointer at an access path.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CalleeRef
impl<'de> Deserialize<'de> for CalleeRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for CalleeRef
impl Ord for CalleeRef
Source§impl PartialOrd for CalleeRef
impl PartialOrd for CalleeRef
impl Eq for CalleeRef
impl StructuralPartialEq for CalleeRef
Auto Trait Implementations§
impl Freeze for CalleeRef
impl RefUnwindSafe for CalleeRef
impl Send for CalleeRef
impl Sync for CalleeRef
impl Unpin for CalleeRef
impl UnsafeUnpin for CalleeRef
impl UnwindSafe for CalleeRef
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.