Struct segment_tree::ops::MinIgnoreNaN
[−]
[src]
pub struct MinIgnoreNaN;
Variant of Min
that considers NaN larger than anything.
Trait Implementations
impl Operation<f32> for MinIgnoreNaN
[src]
fn combine(a: &f32, b: &f32) -> f32
The operation that is performed to combine two intervals in the segment tree. Read more
fn combine_mut(a: &mut N, b: &N)
Replace the value in a with combine(a, b)
. This function exists to allow certain optimizations and by default simply calls combine
. Read more
fn combine_mut2(a: &N, b: &mut N)
Replace the value in a with combine(a, b)
. This function exists to allow certain optimizations and by default simply calls combine
. Read more
fn combine_left(a: N, b: &N) -> N
Must return the same as combine
. This function exists to allow certain optimizations and by default simply calls combine_mut
. Read more
fn combine_right(a: &N, b: N) -> N
Must return the same as combine
. This function exists to allow certain optimizations and by default simply calls combine_mut2
. Read more
fn combine_both(a: N, b: N) -> N
Must return the same as combine
. This function exists to allow certain optimizations and by default simply calls combine_left
. Read more
impl Operation<f64> for MinIgnoreNaN
[src]
fn combine(a: &f64, b: &f64) -> f64
The operation that is performed to combine two intervals in the segment tree. Read more
fn combine_mut(a: &mut N, b: &N)
Replace the value in a with combine(a, b)
. This function exists to allow certain optimizations and by default simply calls combine
. Read more
fn combine_mut2(a: &N, b: &mut N)
Replace the value in a with combine(a, b)
. This function exists to allow certain optimizations and by default simply calls combine
. Read more
fn combine_left(a: N, b: &N) -> N
Must return the same as combine
. This function exists to allow certain optimizations and by default simply calls combine_mut
. Read more
fn combine_right(a: &N, b: N) -> N
Must return the same as combine
. This function exists to allow certain optimizations and by default simply calls combine_mut2
. Read more
fn combine_both(a: N, b: N) -> N
Must return the same as combine
. This function exists to allow certain optimizations and by default simply calls combine_left
. Read more