int_interval_stack/
int_co_stack.rs1use std::sync::Arc;
2
3use int_interval::traits::IntCO;
4
5#[derive(Debug, Clone, Copy, PartialEq, Eq)]
6pub struct ChangePoint<C> {
7 pub at: C,
8 pub height_after: usize,
9}
10
11#[derive(Debug, Clone, PartialEq, Eq)]
12pub struct IntCOStack<I>
13where
14 I: IntCO,
15{
16 points: Arc<[ChangePoint<I::CoordType>]>,
17}
18
19mod impls_for_access;
20mod impls_for_construction;
21mod impls_for_iter;
22mod impls_for_predicates;
23
24#[cfg(test)]
25pub(crate) mod test_support;