MCPcopy Create free account
hub / github.com/bytesnake/vim-graphical-preview / Node

Class Node

src/content.rs:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127type Shared<T> = Arc<RwLock<T>>;
128
129pub struct Node {
130 pub id: CodeId,
131 pub range: (usize, usize),
132 content: (String, ContentType),
133 state: Shared<ContentState>,
134 sixel_cache: Shared<HashMap<NodeDim, Sixel>>,
135}
136
137impl Node {
138 pub fn new(id: CodeId, range: (usize, usize), content: &str, kind: ContentType) -> Node {

Callers 1

processMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected