refactor: clean up modules
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user