MCPcopy Index your code
hub / github.com/SingleRust/SingleRust / ComputeMinMax

Interface ComputeMinMax

src/shared/statistics/mod.rs:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55pub trait ComputeMinMax {
56 fn min_max_whole<T>(&self, direction: &Direction) -> anyhow::Result<(Vec<T>, Vec<T>)>
57 where
58 T: NumCast + Copy + PartialOrd + NumericOps + Send + Sync;
59
60 fn min_max_chunk<T>(
61 &self,
62 direction: &Direction,
63 reference: (&mut Vec<T>, &mut Vec<T>),
64 ) -> anyhow::Result<()>
65 where
66 T: NumCast + Copy + PartialOrd + NumericOps + Send + Sync;
67}
68
69pub trait ComputeNTop {
70 fn n_top_whole<T>(&self, direction: &Direction, n: usize) -> anyhow::Result<Vec<T>>

Callers

nothing calls this directly

Implementers 2

mod.rssrc/memory/statistics/mod.rs
mod.rssrc/backed/statistics/mod.rs

Calls

no outgoing calls

Tested by

no test coverage detected