scan_fmt:Rust的类似于scanf()的简单输入 源码
scan_fmt scan_fmt为Rust提供了一个类似于scanf()的简单输入。 目的是使从字符串或stdin读取数据更容易。 当前,格式字符串支持以下特殊序列: {{ = escape for '{' }} = escape for '}' {} = return any value (until next whitespace) {d} = return base-10 decimal {x} = return hex (0xab or ab) {f} = return float {*d} = "*" as the first character means "match but don't return" {2d} or {2x} or {2f} = limit the maximum width to 2. Any po
文件列表
scan_fmt-master.zip
(预估有个7文件)
scan_fmt-master
.gitignore
25B
src
parse.rs
18KB
lib.rs
10KB
.travis.yml
59B
LICENSE
1KB
Cargo.toml
359B
README.md
2KB
暂无评论