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

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

Compares two fragments.

Loading content...

Implementors

Loading content...