gui.clone() vs Rc::clone(&gui)
First, your article is the best I've read about Rust/GTK/packaging!
I have a question as a Rust beginner. Is gui.clone()
the same as Rc::clone(&gui)
? Is there any reason to use one syntax vs another in main.rs?
First, your article is the best I've read about Rust/GTK/packaging!
I have a question as a Rust beginner. Is gui.clone()
the same as Rc::clone(&gui)
? Is there any reason to use one syntax vs another in main.rs?