Trait spirit::fragment::driver::Comparable[][src]

pub trait Comparable<RHS = Self> {
    fn compare(&self, other: &RHS) -> Comparison;
}

Fragments that can be compared for similarity.

This is used by the CacheSimilar Driver.

Required methods

fn compare(&self, other: &RHS) -> Comparison[src]

Compares two fragments.

Loading content...

Implementors

Loading content...