Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub struct Container {
- values: Vec<Arc<Mutex<dyn Trait>>>,
- sub_containers: Vec<Arc<Mutex<Container>>>,
- }
- impl Container {
- pub fn get_all_containers() -> Iterator<Arc<Mutex<Container>>> -> {
- // ???
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement