1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![cfg(not(feature = "format"))]

use bitflags::bitflags;

bitflags! {
    /// Dummy bitflags for the float format.
    #[doc(hidden)]
    #[derive(Default)]
    pub struct NumberFormat: u64 {
        const __NONEXHAUSTIVE = 0;
    }
}


impl NumberFormat {
    #[inline]
    pub fn standard() -> Option<NumberFormat> {
        Some(NumberFormat::default())
    }

    #[inline]
    pub fn digit_separator(&self) -> u8 {
        0
    }
}