aboutsummaryrefslogtreecommitdiff
path: root/rprt-engine/src/text.rs
blob: 4db6509fb91447be0ce12247f2214b629e502fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::collections::HashMap;

use crate::buffer::BufferID;

#[derive(Debug, Clone)]
pub enum Text {
    Vector {
        buffer_id: BufferID,
        content: String,
    },
    Tensor {
        buffer_id: BufferID,
        content: Vec<String>,
    },
    Matrix {
        multi_ranges: HashMap<BufferID, Vec<String>>,
    },
}