pub struct CandidateEntry {
pub candidate: NodeRef,
pub distance: f64,
pub left_right_down: f64,
}Expand description
A candidate match entry with distance metrics.
Fields§
§candidate: NodeRefThe candidate base node.
distance: f64Content distance between candidate and branch node.
left_right_down: f64Minimum of left sibling distance, right sibling distance, and child list distance. Set to -1.0 if not yet calculated.
Implementations§
Trait Implementations§
Source§impl Clone for CandidateEntry
impl Clone for CandidateEntry
Source§fn clone(&self) -> CandidateEntry
fn clone(&self) -> CandidateEntry
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CandidateEntry
impl !RefUnwindSafe for CandidateEntry
impl !Send for CandidateEntry
impl !Sync for CandidateEntry
impl Unpin for CandidateEntry
impl !UnwindSafe for CandidateEntry
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