Module std::ascii

Operations on ASCII strings and characters.

Structs

Ascii

Datatype to hold one ascii character. It wraps a u8, with the highest bit always zero.

Traits

AsciiCast

Trait for converting into an ascii type.

AsciiStr

Trait for converting an ascii type to a string. Needed to convert &[Ascii] to ~str

OwnedAsciiCast

Trait for copyless casting to an ascii vector.

OwnedStrAsciiExt

Extension methods for ASCII-subset only operations on owned strings

StrAsciiExt

Extension methods for ASCII-subset only operations on string slices

ToBytesConsume

Trait to convert to a owned byte array by consuming self