Skip to main content

int_interval_stack/
height_run.rs

1use super::*;
2
3#[derive(Debug, Clone, Copy, PartialEq, Eq)]
4pub struct HeightRun<I>
5where
6    I: IntCO,
7{
8    /// Closed-open interval on which the stack height is constant.
9    pub interval: I,
10
11    /// Stack height throughout `interval`.
12    ///
13    /// This may be zero.
14    pub height: usize,
15}