Trait spirit::fragment::driver::Comparable [−][src]
pub trait Comparable<RHS = Self> { fn compare(&self, other: &RHS) -> Comparison; }
Expand description
Fragment
s that can be compared for similarity.
This is used by the CacheSimilar
Driver
.
Required methods
fn compare(&self, other: &RHS) -> Comparison
fn compare(&self, other: &RHS) -> Comparison
Compares two fragments.