pub enum DependencyType {
Call,
Cost,
}
Expand description
Used in graph algorithms, and describes how to construct the edges in function dependency graph.
Variants§
Call
A function depends on another function if it may call it.
Cost
A function depends on another function if its cost depends on the other function’s cost.
Trait Implementations§
source§impl Clone for DependencyType
impl Clone for DependencyType
source§fn clone(&self) -> DependencyType
fn clone(&self) -> DependencyType
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 DependencyType
impl Debug for DependencyType
source§impl Hash for DependencyType
impl Hash for DependencyType
source§impl PartialEq for DependencyType
impl PartialEq for DependencyType
source§fn eq(&self, other: &DependencyType) -> bool
fn eq(&self, other: &DependencyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DependencyType
impl Eq for DependencyType
impl StructuralPartialEq for DependencyType
Auto Trait Implementations§
impl RefUnwindSafe for DependencyType
impl Send for DependencyType
impl Sync for DependencyType
impl Unpin for DependencyType
impl UnwindSafe for DependencyType
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<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.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.