Enum test_generation::borrow_graph::EdgeType
source · pub enum EdgeType {
Weak,
Strong,
}
Expand description
The EdgeType
is either weak or strong. A weak edge represents imprecise information
on the path along which the borrow takes place. A strong edge is precise.
Variants§
Trait Implementations§
source§impl PartialEq<EdgeType> for EdgeType
impl PartialEq<EdgeType> for EdgeType
impl Copy for EdgeType
impl Eq for EdgeType
impl StructuralEq for EdgeType
impl StructuralPartialEq for EdgeType
Auto Trait Implementations§
impl RefUnwindSafe for EdgeType
impl Send for EdgeType
impl Sync for EdgeType
impl Unpin for EdgeType
impl UnwindSafe for EdgeType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.