refactor: clean up modules

This commit is contained in:
Nova
2022-09-13 15:39:09 -04:00
parent 3453b004c5
commit 342a413b9a
3 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
pub mod destroy_queue;
pub mod resource;
pub mod client;
pub mod destroy_queue;
pub mod eventloop;
pub mod nodelist;
pub mod registry;
pub mod resource;
pub mod scenegraph;

View File

@@ -23,7 +23,6 @@ pub type Method = fn(&Node, Arc<Client>, &[u8]) -> Result<Vec<u8>>;
pub struct Node {
pub(super) uid: String,
pub(crate) client: Weak<Client>,
path: String,
// trailing_slash_pos: usize,
local_signals: DashMap<String, Signal, BuildHasherDefault<FxHasher>>,
@@ -43,6 +42,8 @@ pub struct Node {
pub item_ui: OnceCell<Arc<ItemUI>>,
pub input_method: OnceCell<Arc<InputMethod>>,
pub input_handler: OnceCell<Arc<InputHandler>>,
pub(crate) client: Weak<Client>,
}
impl Node {

View File

@@ -1,7 +1,7 @@
pub mod hmd;
pub mod core;
pub mod data;
pub mod field;
pub mod hmd;
pub mod input;
pub mod input_pointer;
pub mod item;