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

Method cmp

stabby-abi/src/alloc/string.rs:129–131  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

127}
128impl<Alloc: IAlloc> Ord for String<Alloc> {
129 fn cmp(&self, other: &Self) -> core::cmp::Ordering {
130 self.as_str().cmp(other.as_str())
131 }
132}
133
134impl<Alloc: IAlloc + Default> From<&str> for String<Alloc> {

Callers 1

partial_cmpMethod · 0.45

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected