refactor(scenegraph): use RcCell<Node> instead of Rc<RefCell<Node>>

This commit is contained in:
Nova
2022-05-22 10:11:55 -04:00
parent 323d1e01fe
commit 73a0c6ff7a
5 changed files with 37 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ use mio::net::UnixStream;
use std::rc::{Rc, Weak};
pub struct Client<'a> {
pub messenger: Rc<Messenger<'a>>,
messenger: Rc<Messenger<'a>>,
pub scenegraph: Scenegraph<'a>,
}