Start on rendering the outline view

This commit is contained in:
Antonio Scandurra 2022-01-13 12:01:11 +01:00
parent ef596c64f8
commit d6ed2ba642
5 changed files with 152 additions and 11 deletions

View file

@ -3,7 +3,7 @@ use std::ops::Range;
#[derive(Debug)]
pub struct Outline(pub Vec<OutlineItem>);
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct OutlineItem {
pub id: usize,
pub depth: usize,