5 个版本
| 新 0.1.4 | 2024 年 8 月 24 日 |
|---|---|
| 0.1.3 | 2024 年 8 月 11 日 |
| 0.1.2 | 2024 年 8 月 11 日 |
| 0.1.1 | 2024 年 8 月 11 日 |
| 0.1.0 | 2024 年 8 月 11 日 |
6 in #四
每月 247 次下载
4KB
这是一个非常糟糕的输入管理包,我之所以制作它,是因为我厌倦了每次输入都要写三到四行代码。
这个包基本上就是为了“缩短你的代码”而制作的!
我不知道如何编写文档,所以,用例
shittyinput::int()返回一个大小为isize的值shittyinput::string()返回一个字符串shittyinput::float有两种情况,一种大小为f32,另一种为大小f64。要使用它们,请执行shittyinput::float::f32()或shittyinput::float::f64()
所有函数都返回一个 Result,其中包含预期值或错误。
代码在 github 上
lib.rs:
这是一个非常糟糕的输入管理包,我之所以制作它,是因为我厌倦了每次输入都要写三到四行代码。
这个包基本上就是为了“缩短你的代码”而制作的!
我不知道如何编写文档,所以,用例
shittyinput::int()返回一个大小为isize的值shittyinput::string()返回一个字符串shittyinput::float有两种情况,一种大小为f32,另一种为大小f64。要使用它们,请执行shittyinput::float::f32()或shittyinput::float::f64()
所有函数都返回一个 Result,其中包含预期值或错误。
代码在 github 上