Slide 16
Slide 16 text
3/25/2019 reveal.js
http://localhost:3000/?print-pdf 16/18
完成品
完成品
完成品
完成品
println!
マクロがZephyr
上で使える!
fn write_str(&mut self, s: &str) -> fmt::Result {
unsafe {
zephyr::fwrite(s.as_ptr() as *const cty::c_void,
s.len(), 1, stdout_as_ptr_mut());
}
Ok(())
}
println!("Hello from {}", "Rust");