Library guide · API index and notation
This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.
import "core/ascii"
Names used in signatures
Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.
This package has no source imports.
is_ascii
Function · Source
ASCII byte operations. Non-ASCII bytes are unchanged by case conversion.
pub fn is_ascii(value: u8) -> bool
is_digit
Function · Source
pub fn is_digit(value: u8) -> bool
is_lowercase
Function · Source
pub fn is_lowercase(value: u8) -> bool
is_uppercase
Function · Source
pub fn is_uppercase(value: u8) -> bool
is_alphabetic
Function · Source
pub fn is_alphabetic(value: u8) -> bool
is_alphanumeric
Function · Source
pub fn is_alphanumeric(value: u8) -> bool
is_hex_digit
Function · Source
pub fn is_hex_digit(value: u8) -> bool
is_whitespace
Function · Source
pub fn is_whitespace(value: u8) -> bool
is_control
Function · Source
pub fn is_control(value: u8) -> bool
is_graphic
Function · Source
pub fn is_graphic(value: u8) -> bool
to_lowercase
Function · Source
pub fn to_lowercase(value: u8) -> u8
to_uppercase
Function · Source
pub fn to_uppercase(value: u8) -> u8
digit_value
Function · Source
pub fn digit_value(value: u8) -> Option<u8>
hex_value
Function · Source
pub fn hex_value(value: u8) -> Option<u8>