Cleanup core more

This commit is contained in:
Jonathan Kelley committed 2024-01-16 17:23:34 -08:00
1 parent 374c7d0cd8
commit 8b9bf57c03
5 files changed
+36 -1014

No files matched your search

-6
View File
@@ -16,20 +16,14 @@ use std::{
/// This struct exists to provide a common interface for all scopes without relying on generics.
pub(crate) struct ScopeContext {
pub(crate) name: &'static str,
pub(crate) id: ScopeId,
pub(crate) parent_id: Option<ScopeId>,
pub(crate) height: u32,
pub(crate) render_count: Cell<usize>,
pub(crate) suspended: Cell<bool>,
pub(crate) shared_contexts: RefCell<Vec<Box<dyn Any>>>,
pub(crate) hooks: RefCell<Vec<Box<dyn Any>>>,
pub(crate) hook_index: Cell<usize>,
pub(crate) spawned_tasks: RefCell<FxHashSet<Task>>,
}