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

Method case

crates/common/src/cformat.rs:80–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78
79impl CFloatType {
80 const fn case(self) -> Case {
81 use CFloatType::*;
82
83 match self {
84 ExponentLower | PointDecimalLower | GeneralLower => Case::Lower,
85 ExponentUpper | PointDecimalUpper | GeneralUpper => Case::Upper,
86 }
87 }
88}
89
90#[derive(Debug, PartialEq, Clone, Copy)]

Callers 1

format_floatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected