Trait bio::data_structures::bit_tree::PrefixOp

source ·
pub trait PrefixOp<T> {
    // Required method
    fn operation(t1: T, t2: T) -> T;
}
Expand description

Fenwick tree prefix operator

Required Methods§

source

fn operation(t1: T, t2: T) -> T

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> PrefixOp<T> for SumOp
where T: Add<Output = T> + Copy + Add,

source§

impl<T: Copy + Ord> PrefixOp<T> for MaxOp