Skip to main content

write_command

Function write_command 

Source
pub unsafe fn write_command(out: *mut PmpxCommand, spec: CommandSpec)
Expand description

把一个 CommandSpec 写成跨边界的形式,内存由本侧分配。

§Safety

out 必须指向一块可写的 PmpxCommand。