Module core::slice::ascii

source ·
Expand description

Operations on ASCII [u8].

Structs

Functions

  • Returns true if any byte in the word v is nonascii (>= 128). Snarfed from ../str/mod.rs, which does something similar for utf8 validation.
  • is_ascii 🔒
    Optimized ASCII test that will use usize-at-a-time operations instead of byte-at-a-time operations (when possible).
  • is_ascii_simpleExperimental
    ASCII test without the chunk-at-a-time optimizations.