Enum bytecode::dataflow_domains::JoinResult
source · pub enum JoinResult {
Unchanged,
Changed,
}
Expand description
Represents the abstract outcome of a join.
Variants§
Unchanged
The left operand subsumes the right operand: L union R == L.
Changed
The left operand does not subsume the right one and was changed as part of the join.
Implementations§
source§impl JoinResult
impl JoinResult
sourcepub fn combine(self, other: JoinResult) -> JoinResult
pub fn combine(self, other: JoinResult) -> JoinResult
Build the least upper bound of two join results, where Unchanged
is bottom element of the
semilattice.
Trait Implementations§
source§impl Clone for JoinResult
impl Clone for JoinResult
source§fn clone(&self) -> JoinResult
fn clone(&self) -> JoinResult
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 JoinResult
impl Debug for JoinResult
source§impl PartialEq<JoinResult> for JoinResult
impl PartialEq<JoinResult> for JoinResult
source§fn eq(&self, other: &JoinResult) -> bool
fn eq(&self, other: &JoinResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JoinResult
impl Eq for JoinResult
impl StructuralEq for JoinResult
impl StructuralPartialEq for JoinResult
Auto Trait Implementations§
impl RefUnwindSafe for JoinResult
impl Send for JoinResult
impl Sync for JoinResult
impl Unpin for JoinResult
impl UnwindSafe for JoinResult
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.