MCPcopy Create free account
hub / github.com/Lokathor/tinyvec / cmp

Method cmp

src/tinyvec.rs:1622–1624  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

1620{
1621 #[inline]
1622 fn cmp(&self, other: &Self) -> core::cmp::Ordering {
1623 self.as_slice().cmp(other.as_slice())
1624 }
1625}
1626
1627impl<A: Array> PartialEq<&A> for TinyVec<A>

Callers

nothing calls this directly

Calls 1

as_sliceMethod · 0.45

Tested by

no test coverage detected