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

Method as_slice

src/arrayvec.rs:382–384  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

380 #[inline(always)]
381 #[must_use]
382 pub fn as_slice(&self) -> &[A::Item] {
383 self.deref()
384 }
385
386 /// The capacity of the `ArrayVec`.
387 ///

Callers 12

clone_fromMethod · 0.45
derefMethod · 0.45
as_ptrMethod · 0.45
capacityMethod · 0.45
grab_spare_sliceMethod · 0.45
fromMethod · 0.45
fmtMethod · 0.45
eqMethod · 0.45
partial_cmpMethod · 0.45
cmpMethod · 0.45
hashMethod · 0.45
formatMethod · 0.45

Calls 1

derefMethod · 0.45

Tested by

no test coverage detected