Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dropbox/rust-alloc-no-stdlib
/ slice
Method
slice
src/bin/heap_alloc.rs:19–21 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
17
18
impl<T> alloc_no_stdlib::SliceWrapper<T> for Rebox<T> {
19
fn slice(&self) -> & [T] {
20
return &*self.b
21
}
22
}
23
24
impl<T> alloc_no_stdlib::SliceWrapperMut<T> for Rebox<T> {
Callers
1
len
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected