wip: algo for scheduler finished

This commit is contained in:
Jonathan Kelley committed 2021-08-26 17:05:28 -04:00
1 parent 5f63eda294
commit 9ad5e49654
5 files changed
+463 -507

No files matched your search

+1 -5
View File
@@ -13,16 +13,12 @@ pub struct Mutations<'a> {
use DomEdit::*;
impl<'a> Mutations<'a> {
pub fn new() -> Self {
pub(crate) fn new() -> Self {
let edits = Vec::new();
let noderefs = Vec::new();
Self { edits, noderefs }
}
pub fn extend(&mut self, other: &mut Mutations) {
// self.edits.extend(other.edits);
}
// Navigation
pub(crate) fn push_root(&mut self, root: ElementId) {
let id = root.as_u64();