MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / ref_v

Method ref_v

debugger/src/debugger/value_writer.rs:117–123  ·  view source on GitHub ↗
(&self, ty: &str, r: Addr)

Source from the content-addressed store, hash-verified

115 }
116
117 fn ref_v(&self, ty: &str, r: Addr) -> Bytes {
118 let mut msg = Bytes::new();
119 msg.identifier(ty);
120 msg.blob(Bytes::from(r.to_bytes()));
121 msg.push_str("ref");
122 msg
123 }
124
125 fn struct_v<I: Iterator<Item = (String, Bytes)>>(&self, ty: &str, fields: I) -> Bytes {
126 let mut msg = Bytes::new();

Callers 4

write_return_valueFunction · 0.45
write_base_valueFunction · 0.45
pointer_toMethod · 0.45
ref_counted_toMethod · 0.45

Calls 4

identifierMethod · 0.80
blobMethod · 0.80
to_bytesMethod · 0.80
push_strMethod · 0.80

Tested by

no test coverage detected