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

Method abbr_name

crates/stdlib/src/unicodedata.rs:347–356  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

345
346 impl EastAsianWidthAbbrName for EastAsianWidth {
347 fn abbr_name(&self) -> &'static str {
348 match self {
349 Self::Narrow => "Na",
350 Self::Wide => "W",
351 Self::Neutral => "N",
352 Self::Ambiguous => "A",
353 Self::FullWidth => "F",
354 Self::HalfWidth => "H",
355 }
356 }
357 }
358
359 #[pyattr]

Callers 3

categoryMethod · 0.80
bidirectionalMethod · 0.80
east_asian_widthMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected