MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / as_mut_string

Method as_mut_string

crates/core/src/source.rs:118–120  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

116 }
117
118 pub fn as_mut_string(&mut self) -> &mut String {
119 &mut self.s
120 }
121
122 pub fn as_str(&self) -> &str {
123 &self.s

Callers 8

finishMethod · 0.80
emit_custom_sectionMethod · 0.80
finishMethod · 0.80
emitMethod · 0.80
finishMethod · 0.80
define_dtorMethod · 0.80
exportMethod · 0.80
print_tyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected