pub struct ControlFlowPair {
pub a: UnitRef,
pub b: UnitRef,
pub hash: FeatureHash,
}Expand description
A control-flow candidate: two units with the same control-flow skeleton.
Canonical: a < b.
Fields§
§a: UnitRefThe lower unit.
b: UnitRefThe higher unit.
hash: FeatureHashThe skeleton hash the two share.
Trait Implementations§
Source§impl Clone for ControlFlowPair
impl Clone for ControlFlowPair
Source§fn clone(&self) -> ControlFlowPair
fn clone(&self) -> ControlFlowPair
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 ControlFlowPair
Source§impl Debug for ControlFlowPair
impl Debug for ControlFlowPair
impl Eq for ControlFlowPair
Source§impl Ord for ControlFlowPair
impl Ord for ControlFlowPair
Source§fn cmp(&self, other: &ControlFlowPair) -> Ordering
fn cmp(&self, other: &ControlFlowPair) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ControlFlowPair
impl PartialEq for ControlFlowPair
Source§impl PartialOrd for ControlFlowPair
impl PartialOrd for ControlFlowPair
impl StructuralPartialEq for ControlFlowPair
Auto Trait Implementations§
impl Freeze for ControlFlowPair
impl RefUnwindSafe for ControlFlowPair
impl Send for ControlFlowPair
impl Sync for ControlFlowPair
impl Unpin for ControlFlowPair
impl UnsafeUnpin for ControlFlowPair
impl UnwindSafe for ControlFlowPair
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.