摘要: 转载自B站 https://www.bilibili.com/read/cv5512692 https://wallhaven.cc/ https://unsplash.com http://wallls.com/tag/lights/ https://wall.alphacoders.com/?l 阅读全文
posted @ 2020-09-24 11:38 诡局 阅读(222) 评论(0) 推荐(0)
摘要: 出处《深入浅出Rust》 Rust中一系列的宏,如 println! format! write! writeln! 等,都是用的同样的格式控制规则 fn main() { println!("{}", 1); //默认用法,打印display println!("{:o}", 9); //八进制 阅读全文
posted @ 2020-09-21 11:20 诡局 阅读(599) 评论(0) 推荐(0)
摘要: 一、官方学习资料 1. 官网地址:https://www.rust-lang.org/ 2. Rust编程语言(运行 rustup docs 可以打开离线版):https://doc.rust-lang.org/book/title-page.html 3. Rust示例练习项目rustlings: 阅读全文
posted @ 2020-09-21 10:23 诡局 阅读(1136) 评论(0) 推荐(0)