13 releases
| 0.1.1 | Mar 18, 2025 |
|---|---|
| 0.1.0 | Mar 18, 2025 |
| 0.0.11 | Aug 11, 2024 |
#1810 in Text processing
678 downloads per month
8KB
84 lines
is_printable
Determines whether a given text-based value is printable
Printable example
use is_printable::IsPrintable;
let hello = "hello";
let is_printable = hello.is_printable();
assert_eq!(is_printable, true);
Unprintable example
use is_printable::IsPrintable;
let bell = '\u{7}'
let is_printable = bell.is_printable();
assert_eq!(is_printable, false);
Dependencies
~0.1–8MB
~40K SLoC