Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ as_slice
Method
as_slice
crates/wtf8/src/lib.rs:378–380 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
376
377
#[inline]
378
pub fn as_slice(&self) -> &Wtf8 {
379
unsafe { Wtf8::from_bytes_unchecked(&self.bytes) }
380
}
381
382
#[inline]
383
pub fn as_mut_slice(&mut self) -> &mut Wtf8 {
Callers
5
compile
Method · 0.45
deref
Method · 0.45
as_wtf8
Method · 0.45
extract_items_into_context
Function · 0.45
impl_pymodule
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected