Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
fmt
Method · 0.45
eq
Method · 0.45
partial_cmp
Method · 0.45
cmp
Method · 0.45
hash
Method · 0.45
format
Method · 0.45
fuzz_cycle
Function · 0.45
fuzz_cycle
Function · 0.45
fuzz_cycle
Function · 0.45
iter
Method · 0.45
get
Method · 0.45
Calls
1
deref
Method · 0.45
Tested by
no test coverage detected