Searched refs:get_downcast_mut (Results 1 – 4 of 4) sorted by relevance
79 self.async_task.queue_lo(|shelf| shelf.get_downcast_mut::<GcInternal>().unwrap().step()) in notify_gc()146 shelf.get_downcast_mut::<GcInternal>().unwrap().step() in step()
49 pub fn get_downcast_mut<T: Any + Send>(&mut self) -> Option<&mut T> { in get_downcast_mut() method293 let e2 = shelf.get_downcast_mut::<Elf>().unwrap(); in test_shelf()315 assert_eq!(shelf.get_downcast_mut::<i32>(), None); in test_shelf()
246 shelf.get_downcast_mut::<LegacyMigratorState>() in do_serialized()
407 let state = shelf.get_downcast_mut::<AsyncState>().expect("Failed to get shelf."); in do_serialized()