Crate raw_string
source ·Expand description
RawString and RawStr are the equivalents of String and
str, or OsString and OsStr, but without any guarantees
about the encoding.
They are useful in all places where you would otherwise use
Vec<u8> and [u8] to represent your strings.
Re-exports
- pub use self::index::RawStrIndexOutput;
Modules
- Conversions only available on unix.
Structs
- Astrwith unchecked contents.
- AStringwith unchecked contents.
- A chunk of valid UTF-8, possibly followed by a broken character encoding.
- An iterator over chunks of valid UTF-8 in a RawStr.
Traits
- The equivalent ofSliceIndexforRawStr.