pub struct Composer {
pub slots: Vec<Box<dyn Any>>,
pub slot_callers: Vec<&'static Location<'static>>,
pub cursor: usize,
pub auto_counts: FxHashMap<String, usize>,
pub keyed_slots: FxHashMap<String, Box<dyn Any>>,
pub keyed_owner: FxHashMap<String, String>,
pub keyed_owners: FxHashMap<String, FxHashSet<String>>,
pub live_keyed_owners: FxHashSet<String>,
pub live_keyed_keys: FxHashSet<String>,
pub cache_preserved_owners: FxHashSet<String>,
pub scope_caches: FxHashMap<String, ScopeCache>,
pub live_scope_keys: FxHashSet<String>,
}Fields§
§slots: Vec<Box<dyn Any>>§slot_callers: Vec<&'static Location<'static>>§cursor: usize§auto_counts: FxHashMap<String, usize>§keyed_slots: FxHashMap<String, Box<dyn Any>>§keyed_owner: FxHashMap<String, String>§keyed_owners: FxHashMap<String, FxHashSet<String>>§live_keyed_owners: FxHashSet<String>Owner tokens of registered scopes visited this frame, plus the root token.
live_keyed_keys: FxHashSet<String>Raw keys read through remember_with_key this frame.
cache_preserved_owners: FxHashSet<String>Owner tokens of scopes served from cache this frame. Their bodies did not re-run, so their keyed slots go unread and must not be collected.
scope_caches: FxHashMap<String, ScopeCache>§live_scope_keys: FxHashSet<String>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Composer
impl !Send for Composer
impl !Sync for Composer
impl !UnwindSafe for Composer
impl Freeze for Composer
impl Unpin for Composer
impl UnsafeUnpin for Composer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more