pub enum FnKey {
Fn(String),
Method(String, String),
}Expand description
A node in a module’s call graph: a free function or an impl method.
Variants§
Fn(String)
A free function, by its name.
Method(String, String)
A method or associated function, by (type name, function name).
Trait Implementations§
impl Eq for FnKey
Source§impl Ord for FnKey
impl Ord for FnKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FnKey
impl PartialOrd for FnKey
impl StructuralPartialEq for FnKey
Auto Trait Implementations§
impl Freeze for FnKey
impl RefUnwindSafe for FnKey
impl Send for FnKey
impl Sync for FnKey
impl Unpin for FnKey
impl UnsafeUnpin for FnKey
impl UnwindSafe for FnKey
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.