MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / from

Method from

src/backend/linux_raw/conv.rs:110–112  ·  view source on GitHub ↗
(c: *mut T)

Source from the content-addressed store, hash-verified

108impl<'a, Num: ArgNumber, T> From<*mut T> for ArgReg<'a, Num> {
109 #[inline]
110 fn from(c: *mut T) -> Self {
111 raw_arg(c.cast())
112 }
113}
114
115impl<'a, Num: ArgNumber, T> From<*const T> for ArgReg<'a, Num> {

Callers

nothing calls this directly

Calls 12

raw_argFunction · 0.85
raw_fdFunction · 0.85
pass_usizeFunction · 0.85
c_uintFunction · 0.85
oflags_bitsFunction · 0.85
as_ptrMethod · 0.45
as_raw_fdMethod · 0.45
as_raw_modeMethod · 0.45
as_rawMethod · 0.45
getMethod · 0.45
as_raw_nonzeroMethod · 0.45
as_mut_ptrMethod · 0.45

Tested by

no test coverage detected