mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 20:29:05 +00:00
13 lines
238 B
Rust
13 lines
238 B
Rust
|
use std::ops::Range;
|
||
|
|
||
|
#[derive(Debug)]
|
||
|
pub struct Outline(pub Vec<OutlineItem>);
|
||
|
|
||
|
#[derive(Debug)]
|
||
|
pub struct OutlineItem {
|
||
|
pub id: usize,
|
||
|
pub range: Range<usize>,
|
||
|
pub text: String,
|
||
|
pub name_range_in_text: Range<usize>,
|
||
|
}
|