pub enum DependencyKind {
DataFlow,
AntiDependency,
OutputDependency,
Control,
}Expand description
The kind of dependency between two DFG nodes.
Variants§
DataFlow
Read-after-write: consumer reads what producer wrote.
AntiDependency
Write-after-read: producer reads, consumer writes to same location.
OutputDependency
Write-after-write: both nodes write to the same location.
Control
Control dependency (barriers, control flow).
Trait Implementations§
Source§impl Clone for DependencyKind
impl Clone for DependencyKind
Source§fn clone(&self) -> DependencyKind
fn clone(&self) -> DependencyKind
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 moreimpl Copy for DependencyKind
Source§impl Debug for DependencyKind
impl Debug for DependencyKind
Source§impl Display for DependencyKind
impl Display for DependencyKind
impl Eq for DependencyKind
Source§impl Hash for DependencyKind
impl Hash for DependencyKind
Source§impl PartialEq for DependencyKind
impl PartialEq for DependencyKind
impl StructuralPartialEq for DependencyKind
Auto Trait Implementations§
impl Freeze for DependencyKind
impl RefUnwindSafe for DependencyKind
impl Send for DependencyKind
impl Sync for DependencyKind
impl Unpin for DependencyKind
impl UnsafeUnpin for DependencyKind
impl UnwindSafe for DependencyKind
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