MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / as_ptr

Method as_ptr

euralios_std/src/syscalls.rs:118–120  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

116 }
117
118 pub unsafe fn as_ptr<T>(&self) -> *const T {
119 self.0 as *const T
120 }
121
122 /// Get a reference with lifetime tied to MemoryHandle
123 pub unsafe fn as_ref<T>(&self) -> &T {

Callers 8

from_u8_sliceMethod · 0.80
new_kernel_threadFunction · 0.80
new_user_threadFunction · 0.80
fork_current_threadFunction · 0.80
sys_listmountsFunction · 0.80
copy_pages_recFunction · 0.80
fetch_frameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected