INNER CODE UNIT · Rust
interned
lurk-lab/lurk-beta · chain-server/src/lib.rs:47
pub fn interned(&self, store: &Store<F>) -> Result<(Ptr, Option<Ptr>)> {
let cache = &mut HashMap::default();
let callable = self.z_dag.populate_store(&self.callable, store, cache)?;
let stream_init_callable = if let Some(z_ptr) = &self.stream_init_callable {
Some(self.z_dag.populate_store(z_ptr, store, cache)?)
} else {
None
};
Ok((callable, stream_init_callable))
}
#[inline]
pub fn get_rc(&self) -> usize {
self.rc
}
}
impl<F: LurkField> HasFieldModulus for ConfigResponseData<F> {