int-interval-stack 0.3.0

Integer half-open interval stack structures for overlap multiplicity.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct HeightRun<I>
where
    I: IntCO,
{
    /// Closed-open interval on which the stack height is constant.
    pub interval: I,

    /// Stack height throughout `interval`.
    ///
    /// This may be zero.
    pub height: usize,
}