doc.rust-lang.org
pub const fn make_ascii_lowercase(&mut self)
Converts this string to its ASCII lower case equivalent in-place.
method
core
Stable since 1.23.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Utf8Chunks<'a>
An iterator used to decode a slice of mostly UTF-8 bytes to string slices (&str) and byte slices (&[u8]).
struct
core
Stable since 1.79.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn valid(&self) -> &'a str
Returns the next validated UTF-8 substring.
method
core
Stable since 1.79.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn invalid(&self) -> &'a [u8]
Returns the invalid sequence that caused a failure.
method
core
Stable since 1.79.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Utf8Chunk<'a>
An item returned by the Utf8Chunks iterator.
struct
core
Stable since 1.79.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn lines_any(&self) -> LinesAny<'_>
Returns an iterator over the lines of a string.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn lines(&self) -> Lines<'_>
Returns an iterator over the lines of a string, as string slices.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn len(&self) -> usize
Returns the length of self.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitWhitespace<'a>
An iterator over the non-whitespace substrings of a string, separated by any amount of whitespace.
struct
core
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitTerminator<'a, P>
Created with the method split_terminator.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitN<'a, P>
Created with the method splitn.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitInclusive<'a, P>
An iterator over the substrings of a string, terminated by a substring matching to a predicate function Unlike Split, it contains the matched part as a terminator of the subslice.
struct
core
Stable since 1.51.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitAsciiWhitespace<'a>
An iterator over the non-ASCII-whitespace substrings of a string, separated by any amount of ASCII whitespace.
struct
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Split<'a, P>
Created with the method split.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitTerminator<'a, P>
Created with the method rsplit_terminator.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitN<'a, P>
Created with the method rsplitn.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplit<'a, P>
Created with the method rsplit.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct RMatches<'a, P>
Created with the method rmatches.
struct
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct RMatchIndices<'a, P>
Created with the method rmatch_indices.
struct
core
Stable since 1.5.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Matches<'a, P>
Created with the method matches.
struct
core
Stable since 1.2.0
Version 1.100.0-nightly