Module collections::string [] [src]

An owned, growable string that enforces that its contents are valid UTF-8.

Structs

FromUtf16Error

A possible error value from the String::from_utf16`String::from_utf16` function.

FromUtf8Error

A possible error value from the String::from_utf8`String::from_utf8` function.

String

A growable string stored as a UTF-8 encoded buffer.

DerefString [Unstable]

Wrapper type providing a &String`&Stringreference via` reference via Deref`Deref`.

Drain [Unstable]

A draining iterator for String`String`.

ParseError [Unstable]

Error returned from String::from_str`String::from_str`

Traits

ToString

A generic trait for converting a value to a string

Functions

as_string [Unstable]

Converts a string slice to a wrapper type providing a &String`&String` reference.