没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
rust-stopwatch这是一个用于计时Rust中时间的简单模块。 用法若要使用,请在[dependencies]下的Cargo.toml中添加以下行:stopwatch rust-stopwatch这是一个用于计时Rust中时间的简单模块。 用法若要使用,请在[dependencies]下将以下行添加到Cargo.toml:stopwatch =“ 0.0.7”或使用stopwatch = {git =“ https://github.com/ellisonch/rust-stopwatch.git”}示例外部板条箱秒表; 使用秒表:: {秒表}; // ... let sw = Stopwatch :: start_new(); //做一些需要一些时间的操作println!(“事情花了{} ms”,sw.elapsed_ms()); 方法fn new()->秒表fn start_new()-> S
资源推荐
资源详情
资源评论
收起资源包目录
rust-stopwatch-master.zip (7个子文件)
rust-stopwatch-master
Cargo.toml 314B
LICENSE.txt 1KB
src
lib.rs 3KB
.travis.yml 14B
README.md 860B
tests
lib.rs 3KB
.gitignore 25B
共 7 条
- 1
资源评论
徐校长
- 粉丝: 35
- 资源: 4615
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功