rustc_
literal_
escaper
1.89.0-nightly-4d051fb30-2025-05-18
Target
x86_64-unknown-linux-gnu
x86_64-pc-windows-gnu
aarch64-apple-darwin
Enums
EscapeError
MixedUnit
Mode
Functions
ascii_check
byte_from_char
check_raw_common
scan_escape
scan_unicode
skip_ascii_whitespace
unescape_byte
unescape_char
unescape_char_or_byte
unescape_mixed
unescape_non_raw_common
unescape_unicode
rustc_literal_escaper
Function
byte_from_char
Copy item path
Settings
Help
Summary
Source
pub fn byte_from_char(c:
char
) ->
u8