MCPcopy Index your code
hub / github.com/RustPython/RustPython / to_u32

Method to_u32

crates/wtf8/src/lib.rs:126–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 /// Returns the numeric value of the code point.
125 #[inline]
126 pub const fn to_u32(self) -> u32 {
127 self.value
128 }
129
130 /// Returns the numeric value of the code point if it is a leading surrogate.
131 #[inline]

Callers 15

ioctlMethod · 0.45
handle_encode_errorMethod · 0.45
spec_format_stringFunction · 0.45
execute_instructionMethod · 0.45
chrFunction · 0.45
ordFunction · 0.45
strftime_crtFunction · 0.45
py2regFunction · 0.45
encode_code_page_errorsFunction · 0.45
decode_code_page_errorsFunction · 0.45
int_to_bytesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected