Expand description
A String object holds and manipulates an arbitrary sequence of bytes, typically representing characters.
Structs§
- Bytes
- Immutable
Stringbyte iterator. - Center
- An iterator that yields a byte string centered within a padding byte string.
- Chars
- Codepoints
- An iterator that yields a
u32codepoints from aString. - Inspect
- An iterator that yields a debug representation of a
Stringand its byte contents as a sequence ofchars. - Into
Iter - An iterator that moves out of a string.
- Invalid
Codepoint Error - Invalid
Encoding Error - Error returned when failing to deserialize an
Encoding. - Iter
- Immutable
Stringbyte slice iterator. - IterMut
- Mutable
Stringbyte iterator. - RawParts
- A wrapper around the decomposed parts of a
Vec<T>. - String
Enums§
- Case
Fold casecmp - Unicode case folding strategies.
- Case
Folding Effect - Tracks whether a case-folding operation changed any bytes.
- Center
Error - Error returned when failing to construct a
Centeriterator. - Codepoints
Error - Error returned when failing to construct a
Codepointsiterator/ - Encoding
- An Encoding instance represents a character encoding usable in Ruby.
- OrdError