Module rustc_unicode::u_str [] [src]

Unstable (unicode #27783)

Unicode-intensive string manipulations.

This module provides functionality to str that requires the Unicode methods provided by the unicode parts of the CharExt trait.

Reexports

use core::prelude::v1::*;
use core::char;
use core::iter::Filter;
use core::str::Split;

Structs

SplitWhitespace

An iterator over the non-whitespace substrings of a string, separated by any amount of whitespace.

Utf16Encoder [Unstable]

Iterator adaptor for encoding chars to UTF-16.

Statics

UTF8_CHAR_WIDTH [Unstable]

Traits

UnicodeStr [Unstable]

Methods for Unicode string slices

Functions

is_utf16 [Unstable]

Determines if a vector of u16 contains valid UTF-16

utf8_char_width [Unstable]

Given a first byte, determine how many bytes are in this UTF-8 character