wip: fragment diffing working

This commit is contained in:
Jonathan Kelley committed 2022-11-23 23:15:01 -08:00
1 parent 0266dfdc05
commit 4dd9a616a5
13 files changed
+489 -258

No files matched your search

+5 -1
View File
@@ -94,6 +94,7 @@ pub enum Mutation<'a> {
LoadTemplate {
name: &'static str,
index: usize,
id: ElementId,
},
// Take the current element and replace it with the element with the given id.
@@ -103,8 +104,8 @@ pub enum Mutation<'a> {
},
ReplacePlaceholder {
m: usize,
path: &'static [u8],
m: usize,
},
/// Insert a number of nodes after a given node.
@@ -176,4 +177,7 @@ pub enum Mutation<'a> {
/// The name of the event to remove.
event: &'a str,
},
Remove {
id: ElementId,
},
}