Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lokathor/tinyvec
/ deref
Method
deref
src/arrayvec.rs:158–160 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
156
type Target = [A::Item];
157
#[inline(always)]
158
fn deref(&self) -> &Self::Target {
159
&self.data.as_slice()[..self.len as usize]
160
}
161
}
162
163
impl<A: Array> DerefMut for ArrayVec<A> {
Callers
4
index
Method · 0.45
as_slice
Method · 0.45
index
Method · 0.45
as_slice
Method · 0.45
Calls
1
as_slice
Method · 0.45
Tested by
no test coverage detected