pu369com

2021年8月18日

利用github免费建立静态网站

摘要: 安装git并在cmd中执行: set https_proxy=127.0.0.1:1080 set http_proxy=127.0.0.1:1080 set GIT_SSL_NO_VERIFY=true 1 在github注册用户名、密码。 2 比如用户名是XX就在github上建立名为XX.gi 阅读全文

posted @ 2021-08-18 16:52 pu369com 阅读(148) 评论(0) 推荐(0) 编辑

rust之#[derive(Debug)]

摘要: 参考:https://rust-by-example.budshome.com/hello/print/print_debug.html cargo new hello main.rs #[derive(Debug)] struct Person<'a> { name: &'a str, age: 阅读全文

posted @ 2021-08-18 16:29 pu369com 阅读(2526) 评论(0) 推荐(0) 编辑

rust创建自己的库文件

摘要: 参考 https://blog.csdn.net/quicmous/article/details/113829830 1 创建工程 选择合适的文件夹,执行下面的命令: cargo new hello cargo new hellolib --lib 2. 源代码 hellolib/src/lib. 阅读全文

posted @ 2021-08-18 15:28 pu369com 阅读(334) 评论(0) 推荐(0) 编辑

Rust 的宏

摘要: 参考https://www.cnblogs.com/praying/p/14457360.html https://zhuanlan.zhihu.com/p/342408254 (Rust过程宏入门(一)及后续) https://dengjianping.github.io/2019/02/28/% 阅读全文

posted @ 2021-08-18 12:54 pu369com 阅读(82) 评论(0) 推荐(0) 编辑

导航