Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn get_drawable_mut(&mut self, uuid: &Uuid) -> &mut Box<dyn Drawable> {
- let i = self.component_map.read().unwrap().get(uuid).unwrap();
- use std::ops::IndexMut;
- self.drawables.write().unwrap().write().unwrap().index_mut(*i)
- }
Add Comment
Please, Sign In to add comment