MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with

Method with

atomic-core/examples/graph_codec_lab/codec.rs:199–204  ·  view source on GitHub ↗
(&mut self, name: &'static str, value: &T)

Source from the content-addressed store, hash-verified

197 self.reference(&bytes, 19)
198 }
199 fn with<T: Serialize + ?Sized>(&mut self, name: &'static str, value: &T) -> SResult<()> {
200 let old = self.enter(name);
201 let result = value.serialize(&mut *self);
202 self.ctx = old;
203 result
204 }
205}
206
207struct Compound<'a> {

Callers 15

newMethod · 0.80
dropMethod · 0.80
dropMethod · 0.80
with_source_proof_scopeFunction · 0.80
initFunction · 0.80
record_resultFunction · 0.80
serialize_keyMethod · 0.80
serialize_valueMethod · 0.80

Calls 2

enterMethod · 0.45
serializeMethod · 0.45