Debian Codegraph @

src/options/defaults.rs

raw symbols SCIP
1 use superrust-analyzer cargo humansize 2.1.3 options/::{BaseUnitrust-analyzer cargo humansize 2.1.3 options/BaseUnit#, FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#, Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#};
2
3 /// Options to display sizes in the SI format.
4 pub const BINARYrust-analyzer cargo humansize 2.1.3 options/defaults/BINARY.: FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions# = FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions# {
5 base_unitrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#base_unit.: BaseUnitrust-analyzer cargo humansize 2.1.3 options/BaseUnit#::Byterust-analyzer cargo humansize 2.1.3 options/BaseUnit#Byte#,
6 kilorust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#kilo.: Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#::Binaryrust-analyzer cargo humansize 2.1.3 options/Kilo#Binary#,
7 unitsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#units.: Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#::Binaryrust-analyzer cargo humansize 2.1.3 options/Kilo#Binary#,
8 decimal_placesrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#decimal_places.: 2,
9 decimal_zeroesrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#decimal_zeroes.: 0,
10 fixed_atrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#fixed_at.: Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#,
11 long_unitsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#long_units.: false,
12 space_after_valuerust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#space_after_value.: true,
13 suffixrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#suffix.: "",
14 };
15
16 /// Options to display sizes in the SI (decimal) format.
17 pub const DECIMALrust-analyzer cargo humansize 2.1.3 options/defaults/DECIMAL.: FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions# = FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions# {
18 base_unitrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#base_unit.: BaseUnitrust-analyzer cargo humansize 2.1.3 options/BaseUnit#::Byterust-analyzer cargo humansize 2.1.3 options/BaseUnit#Byte#,
19 kilorust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#kilo.: Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#::Decimalrust-analyzer cargo humansize 2.1.3 options/Kilo#Decimal#,
20 unitsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#units.: Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#::Decimalrust-analyzer cargo humansize 2.1.3 options/Kilo#Decimal#,
21 decimal_placesrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#decimal_places.: 2,
22 decimal_zeroesrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#decimal_zeroes.: 0,
23 fixed_atrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#fixed_at.: Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#,
24 long_unitsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#long_units.: false,
25 space_after_valuerust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#space_after_value.: true,
26 suffixrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#suffix.: "",
27 };
28
29 /// Options to display sizes in the "WINDOWS" format.
30 /// Uses 1024 as the value of the `Kilo`, but displays decimal-style units (`kB`, not `KiB`).
31 pub const WINDOWSrust-analyzer cargo humansize 2.1.3 options/defaults/WINDOWS.: FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions# = FormatSizeOptionsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions# {
32 base_unitrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#base_unit.: BaseUnitrust-analyzer cargo humansize 2.1.3 options/BaseUnit#::Byterust-analyzer cargo humansize 2.1.3 options/BaseUnit#Byte#,
33 kilorust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#kilo.: Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#::Binaryrust-analyzer cargo humansize 2.1.3 options/Kilo#Binary#,
34 unitsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#units.: Kilorust-analyzer cargo humansize 2.1.3 options/Kilo#::Decimalrust-analyzer cargo humansize 2.1.3 options/Kilo#Decimal#,
35 decimal_placesrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#decimal_places.: 2,
36 decimal_zeroesrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#decimal_zeroes.: 0,
37 fixed_atrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#fixed_at.: Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#,
38 long_unitsrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#long_units.: false,
39 space_after_valuerust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#space_after_value.: true,
40 suffixrust-analyzer cargo humansize 2.1.3 options/FormatSizeOptions#suffix.: "",
41 };