Trait IntersectPlusUnionIsPlus

Source
pub trait IntersectPlusUnionIsPlus {
    const VAL: bool;
}
Expand description

An optimisation for cases like putting a HyperLogLog inside a Count–min sketch, where intersecting, adding a val, and then unioning that with counters is the same as simply adding the val to the counters.

Required Associated Constants§

Source

const VAL: bool

Apply optimisation or not

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntersectPlusUnionIsPlus for i8

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for i16

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for i32

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for i64

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for i128

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for isize

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for u8

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for u16

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for u32

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for u64

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for u128

Source§

const VAL: bool = false

Source§

impl IntersectPlusUnionIsPlus for usize

Source§

const VAL: bool = false

Implementors§