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

Method as_slice

src/tinyvec.rs:783–785  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

781 #[inline(always)]
782 #[must_use]
783 pub fn as_slice(&self) -> &[A::Item] {
784 self.deref()
785 }
786
787 /// Removes all elements from the vec.
788 #[inline(always)]

Callers 11

fmtMethod · 0.45
eqMethod · 0.45
partial_cmpMethod · 0.45
cmpMethod · 0.45
hashMethod · 0.45
formatMethod · 0.45
fuzz_cycleFunction · 0.45
fuzz_cycleFunction · 0.45
fuzz_cycleFunction · 0.45
iterMethod · 0.45
getMethod · 0.45

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected