pub trait Merge {
    type Item;

    // Required method
    fn merge(left: &Self::Item, right: &Self::Item) -> Result<Self::Item>;

    // Provided method
    fn merge_peaks(peak1: &Self::Item, peak2: &Self::Item) -> Result<Self::Item> { ... }
}

Required Associated Types§

Required Methods§

source

fn merge(left: &Self::Item, right: &Self::Item) -> Result<Self::Item>

Provided Methods§

source

fn merge_peaks(peak1: &Self::Item, peak2: &Self::Item) -> Result<Self::Item>

Implementors§