Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lokathor/tinyvec
/ as_ptr
Method
as_ptr
src/arrayvec.rs:375–377 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
373
#[inline(always)]
374
#[must_use]
375
pub fn as_ptr(&self) -> *const A::Item {
376
self.data.as_slice().as_ptr()
377
}
378
379
/// Performs a `deref`, into shared slice form.
380
#[inline(always)]
Callers
nothing calls this directly
Calls
1
as_slice
Method · 0.45
Tested by
no test coverage detected