MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / read_mut

Method read_mut

src/aero_kernel/src/mem/paging/addr.rs:136–139  ·  view source on GitHub ↗

Validate reads `sizeof(T)` bytes from the virtual address and returns a mutable reference to the value (`&mut T`). ## Example ```no_run let address: &mut SomeStruct = VirtAddr::new(0xcafebabe).read_mut:: ()?; ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

as_mut_ptrMethod · 0.45

Tested by

no test coverage detected