MCPcopy Create free account
hub / github.com/ZettaScaleLabs/stabby / from

Method from

stabby-abi/src/alloc/string.rs:71–73  ·  view source on GitHub ↗
(value: String<Alloc>)

Source from the content-addressed store, hash-verified

69
70impl<Alloc: IAlloc> From<String<Alloc>> for Vec<u8, Alloc> {
71 fn from(value: String<Alloc>) -> Self {
72 value.inner
73 }
74}
75
76impl<Alloc: IAlloc> TryFrom<Vec<u8, Alloc>> for String<Alloc> {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected