pub struct SemanticCandidatePair {
pub left: usize,
pub right: usize,
}Expand description
One pair selected by the bounded SOG candidate index.
The positions index the caller’s graph slice. They are not source anchors and never become stable finding identifiers.
Fields§
§left: usizePosition of the first graph in caller order.
right: usizePosition of the second graph in caller order.
Trait Implementations§
Source§impl Clone for SemanticCandidatePair
impl Clone for SemanticCandidatePair
Source§fn clone(&self) -> SemanticCandidatePair
fn clone(&self) -> SemanticCandidatePair
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 SemanticCandidatePair
Source§impl Debug for SemanticCandidatePair
impl Debug for SemanticCandidatePair
impl Eq for SemanticCandidatePair
Source§impl Ord for SemanticCandidatePair
impl Ord for SemanticCandidatePair
Source§fn cmp(&self, other: &SemanticCandidatePair) -> Ordering
fn cmp(&self, other: &SemanticCandidatePair) -> 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 SemanticCandidatePair
impl PartialEq for SemanticCandidatePair
Source§impl PartialOrd for SemanticCandidatePair
impl PartialOrd for SemanticCandidatePair
impl StructuralPartialEq for SemanticCandidatePair
Auto Trait Implementations§
impl Freeze for SemanticCandidatePair
impl RefUnwindSafe for SemanticCandidatePair
impl Send for SemanticCandidatePair
impl Sync for SemanticCandidatePair
impl Unpin for SemanticCandidatePair
impl UnsafeUnpin for SemanticCandidatePair
impl UnwindSafe for SemanticCandidatePair
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.