pub struct Comparison {
pub symbol: String,
pub contexts: Vec<ContextComparison>,
pub semantic_match: f32,
pub structural_diff: Vec<String>,
}Expand description
Side-by-side comparison of a symbol across all contexts.
Fields§
§symbol: StringThe symbol name being compared.
contexts: Vec<ContextComparison>Per-context comparison entries.
semantic_match: f32Semantic similarity score between the matched units (0.0 = unrelated, 1.0 = identical). Defaults to 0.0 when no vector comparison is possible.
structural_diff: Vec<String>Structural differences observed across contexts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnsafeUnpin for Comparison
impl UnwindSafe for Comparison
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