Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub fn escape_default(self) -> EscapeDefault
Returns an iterator that yields the literal escape code of a character as chars.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn escape_unicode(self) -> EscapeUnicode
Returns an iterator that yields the hexadecimal Unicode escape of a character as chars.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn from_digit(num: u32, radix: u32) -> Option<char>
Converts a digit in the given radix to a char.
associated_function core Stable since 1.52.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn from_digit(num: u32, radix: u32) -> Option<char>
Converts a digit in the given radix to a char. Use char::from_digit instead.
function core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn from_u32(i: u32) -> Option<char>
Converts a u32 to a char.
associated_function core Stable since 1.52.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn from_u32(i: u32) -> Option<char>
Converts a u32 to a char. Use char::from_u32 instead.
function core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn from_u32_unchecked(i: u32) -> char
Converts a u32 to a char, ignoring validity.
associated_function core Stable since 1.52.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn from_u32_unchecked(i: u32) -> char
Converts a u32 to a char, ignoring validity. Use char::from_u32_unchecked instead.
function core Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn is_alphabetic(self) -> bool
Returns true if this char has the Alphabetic property.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn is_alphanumeric(self) -> bool
Returns true if this char satisfies either is_alphabetic() or is_numeric().
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii(&self) -> bool
Checks if the value is within the ASCII range.
method core Stable since 1.23.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_alphabetic(&self) -> bool
Checks if the value is an ASCII alphabetic character:
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_alphanumeric(&self) -> bool
Checks if the value is an ASCII alphanumeric character:
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_control(&self) -> bool
Checks if the value is an ASCII control character: U+0000 NUL ..= U+001F UNIT SEPARATOR, or U+007F DELETE. Note that most ASCII whitespace characters are control characters, but SPACE is not.
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_digit(&self) -> bool
Checks if the value is an ASCII decimal digit: U+0030 '0' ..= U+0039 '9'.
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_graphic(&self) -> bool
Checks if the value is an ASCII graphic character (i.e. not whitespace or control): U+0021 '!' ..= U+007E '~'.
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_hexdigit(&self) -> bool
Checks if the value is an ASCII hexadecimal digit:
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_lowercase(&self) -> bool
Checks if the value is an ASCII lowercase character: U+0061 'a' ..= U+007A 'z'.
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_punctuation(&self) -> bool
Checks if the value is an ASCII punctuation or symbol character (i.e. not alphanumeric, whitespace, or control):
method core Stable since 1.24.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_ascii_uppercase(&self) -> bool
Checks if the value is an ASCII uppercase character: U+0041 'A' ..= U+005A 'Z'.
method core Stable since 1.24.0 Version 1.100.0-nightly
"Making your `unsafe` very tiny is sort of like putting caution markings *on* the lethally strong robot arm with no proximity sensors, rather than on t..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.