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

Method fmt

crates/wtf8/src/lib.rs:81–83  ·  view source on GitHub ↗
(&self, formatter: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

79impl fmt::Debug for CodePoint {
80 #[inline]
81 fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
82 write!(formatter, "U+{:04X}", self.value)
83 }
84}
85
86impl fmt::Display for CodePoint {

Callers

nothing calls this directly

Calls 3

next_surrogateMethod · 0.80
to_char_lossyMethod · 0.45
write_strMethod · 0.45

Tested by

no test coverage detected