pub struct SimilarPair {
pub note_a: ComparisonNote,
pub note_b: ComparisonNote,
pub similarity: f64,
}Expand description
A pair of similar notes from two decks.
Fields§
§note_a: ComparisonNoteNote from deck A.
note_b: ComparisonNoteNote from deck B.
similarity: f64Similarity score (0.0 - 1.0).
Trait Implementations§
Source§impl Clone for SimilarPair
impl Clone for SimilarPair
Source§fn clone(&self) -> SimilarPair
fn clone(&self) -> SimilarPair
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 moreSource§impl Debug for SimilarPair
impl Debug for SimilarPair
Auto Trait Implementations§
impl Freeze for SimilarPair
impl RefUnwindSafe for SimilarPair
impl Send for SimilarPair
impl Sync for SimilarPair
impl Unpin for SimilarPair
impl UnwindSafe for SimilarPair
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