pub struct DepEdge {
pub kind: DepEdgeKind,
pub at: CallString,
pub source_use: SourceUse,
pub target_use: TargetUse,
}
Expand description
An edge in the program dependence graph.
Represents an operation that induces a dependency between places.
Fields§
§kind: DepEdgeKind
Either data or control.
at: CallString
The location of the operation.
source_use: SourceUse
§target_use: TargetUse
Implementations§
Trait Implementations§
Source§impl TransformCallString for DepEdge
impl TransformCallString for DepEdge
fn transform_call_string(&self, f: impl Fn(CallString) -> CallString) -> Self
impl Copy for DepEdge
impl Eq for DepEdge
impl StructuralPartialEq for DepEdge
Auto Trait Implementations§
impl Freeze for DepEdge
impl RefUnwindSafe for DepEdge
impl Send for DepEdge
impl Sync for DepEdge
impl Unpin for DepEdge
impl UnwindSafe for DepEdge
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§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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more