pub enum ExponentFormat {
ExpNone,
ExpDec,
ExpBin,
}
A flag that specifies whether to use exponential (scientific) notation.
Variants
ExpNone | Do not use exponential notation.
|
ExpDec | Use exponential notation with the exponent having a base of 10 and the
exponent sign being e or E . For example, 1000 would be printed
1e3.
|
ExpBin | Use exponential notation with the exponent having a base of 2 and the
exponent sign being p or P . For example, 8 would be printed 1p3.
|
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).