Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ deref
Method
deref
crates/common/src/boxvec.rs:341–343 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
339
340
#[inline]
341
fn deref(&self) -> &[T] {
342
unsafe { slice::from_raw_parts(self.as_ptr(), self.len()) }
343
}
344
}
345
346
impl<T> DerefMut for BoxVec<T> {
Callers
nothing calls this directly
Calls
2
as_ptr
Method · 0.45
len
Method · 0.45
Tested by
no test coverage detected