| 3 | |
| 4 | #[derive(PartialEq, Eq, Debug)] |
| 5 | pub enum NodeView { |
| 6 | Hidden, |
| 7 | UpperBorder(usize, usize), |
| 8 | LowerBorder(usize, usize), |
| 9 | Visible(usize, usize), |
| 10 | } |
| 11 | |
| 12 | impl NodeView { |
| 13 | pub fn new(node: &Node, metadata: &Metadata, offset: isize) -> NodeView { |
nothing calls this directly
no outgoing calls
no test coverage detected