Trimming of stuff to get into the snapshotting mood

This commit is contained in:
Lucien Greathouse
2018-12-12 13:56:11 -08:00
parent ee0a5cada3
commit b732c43274
4 changed files with 52 additions and 68 deletions

View File

@@ -2,6 +2,7 @@ use std::{
str,
borrow::Cow,
collections::HashMap,
path::PathBuf,
};
use rbx_tree::{RbxTree, RbxId, RbxInstance, RbxValue};
@@ -11,6 +12,7 @@ pub struct RbxSnapshotInstance<'a> {
pub class_name: Cow<'a, str>,
pub properties: HashMap<String, RbxSnapshotValue<'a>>,
pub children: Vec<RbxSnapshotInstance<'a>>,
pub update_trigger_paths: Vec<PathBuf>,
}
pub enum RbxSnapshotValue<'a> {