pub enum AffectedReason {
TargetRemoved,
SourceRemoved,
TargetModified,
SourceModified,
}Expand description
Why an edge is affected.
Variants§
TargetRemoved
The target was removed — this edge is now dangling.
SourceRemoved
The source was removed — this edge is now dangling.
TargetModified
The target was modified — callers may need updating.
SourceModified
The source was modified — callees may be called differently.
Trait Implementations§
Source§impl Clone for AffectedReason
impl Clone for AffectedReason
Source§fn clone(&self) -> AffectedReason
fn clone(&self) -> AffectedReason
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 AffectedReason
Source§impl Debug for AffectedReason
impl Debug for AffectedReason
Source§impl Display for AffectedReason
impl Display for AffectedReason
impl Eq for AffectedReason
Source§impl PartialEq for AffectedReason
impl PartialEq for AffectedReason
Source§fn eq(&self, other: &AffectedReason) -> bool
fn eq(&self, other: &AffectedReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AffectedReason
Auto Trait Implementations§
impl Freeze for AffectedReason
impl RefUnwindSafe for AffectedReason
impl Send for AffectedReason
impl Sync for AffectedReason
impl Unpin for AffectedReason
impl UnsafeUnpin for AffectedReason
impl UnwindSafe for AffectedReason
Blanket Implementations§
impl<T> Allocation for T
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.