pub struct ValueCallFact {
pub range: TextRange,
pub callee: String,
pub kind: ValueCallKind,
}Expand description
One statically-checkable fact about a call through a function value
(T1c, docs/t1c-spec.md §4 — “under types = strict, calls through
function values are statically checked”).
Fields§
§range: TextRangeThe callee reference’s source range (the diagnostic site).
callee: StringThe callee’s display name (f in f(5)).
kind: ValueCallKindTrait Implementations§
Source§impl Clone for ValueCallFact
impl Clone for ValueCallFact
Source§fn clone(&self) -> ValueCallFact
fn clone(&self) -> ValueCallFact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValueCallFact
impl Debug for ValueCallFact
impl Eq for ValueCallFact
Source§impl PartialEq for ValueCallFact
impl PartialEq for ValueCallFact
impl StructuralPartialEq for ValueCallFact
Auto Trait Implementations§
impl Freeze for ValueCallFact
impl RefUnwindSafe for ValueCallFact
impl Send for ValueCallFact
impl Sync for ValueCallFact
impl Unpin for ValueCallFact
impl UnsafeUnpin for ValueCallFact
impl UnwindSafe for ValueCallFact
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§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.