MCPcopy Create free account
hub / github.com/Kethku/Pando / insert_state

Method insert_state

aspen/src/context_stack/context.rs:67–70  ·  view source on GitHub ↗
(&self, state: State)

Source from the content-addressed store, hash-verified

65 }
66
67 pub fn insert_state<State: Any>(&self, state: State) {
68 let mut states = self.states.borrow_mut();
69 states.insert(self.element_token, Box::new(state));
70 }
71
72 pub fn with_initialized_state<State: Any, Result>(
73 &self,

Callers 3

newMethod · 0.45
new_sizedMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected