ltrender 0.1.3

a diff based terminal rendering engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::collections::HashMap;

use ascii_assets::TerminalChar;

use crate::ObjectId;

#[derive(Clone, Debug, Copy)]
pub struct CharacterInfo {
    pub display_id: ObjectId,
    pub layer: usize,
    pub screen_layer: usize,
    pub chr: TerminalChar,
}

#[derive(Clone, Debug)]
pub struct CharacterInfoList {
    pub info: HashMap<ObjectId, CharacterInfo>,
}