pub struct ScopeCache {
pub input_hash: u64,
pub view: View,
pub slot_delta: usize,
pub clean: bool,
}Expand description
Cached state for a single scope! invocation.
Fields§
§input_hash: u64Combined hash of all scope inputs from the last execution.
view: ViewThe cached View tree produced by the last execution.
slot_delta: usizeHow many remember slots the body consumed.
clean: booltrue if cached output is valid (no signal deps invalidated, inputs unchanged).
Auto Trait Implementations§
impl !RefUnwindSafe for ScopeCache
impl !Send for ScopeCache
impl !Sync for ScopeCache
impl !UnwindSafe for ScopeCache
impl Freeze for ScopeCache
impl Unpin for ScopeCache
impl UnsafeUnpin for ScopeCache
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