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

Function by_mut

src/backend/linux_raw/conv.rs:217–219  ·  view source on GitHub ↗
(t: &mut T)

Source from the content-addressed store, hash-verified

215
216#[inline]
217pub(super) fn by_mut<T: Sized, Num: ArgNumber>(t: &mut T) -> ArgReg<'_, Num> {
218 raw_arg(as_mut_ptr(t).cast())
219}
220
221/// Convert an optional mutable reference into a `usize` for passing to a
222/// syscall.

Callers 1

opt_mutFunction · 0.85

Calls 2

raw_argFunction · 0.85
as_mut_ptrFunction · 0.85

Tested by

no test coverage detected