MCPcopy Create free account

hub / github.com/LeopoldArkham/humansize / functions

Functions42 in github.com/LeopoldArkham/humansize

↓ 10 callersMethodfixed_at
(mut self, fixed_at: Option<FixedAt>)
src/options/mod.rs:122
↓ 7 callersMethoddecimal_places
(mut self, decimal_places: usize)
src/options/mod.rs:112
↓ 6 callersMethodlong_units
(mut self, long_units: bool)
src/options/mod.rs:127
↓ 6 callersMethodthousands_separator
(mut self, sep: Option<char>)
src/options/mod.rs:142
↓ 2 callersMethoddecimal_zeroes
(mut self, decimal_zeroes: usize)
src/options/mod.rs:117
↓ 2 callersFunctionf64_eq
(left: f64, right: f64)
src/utils.rs:3
↓ 2 callersFunctionformat_size_i
(input: impl ToF64, options: impl AsRef<FormatSizeOptions>)
src/allocating.rs:7
↓ 2 callersMethodspace_after_value
(mut self, insert_space: bool)
src/options/mod.rs:132
↓ 2 callersMethodsuffix
(mut self, suffix: &'static str)
src/options/mod.rs:137
↓ 1 callersMethodas_ref
(&self)
src/options/mod.rs:149
↓ 1 callersMethodbase_unit
(mut self, base_unit: BaseUnit)
src/options/mod.rs:97
↓ 1 callersFunctionformat_size
(input: impl ToF64 + Unsigned, options: impl AsRef<FormatSizeOptions>)
src/allocating.rs:11
↓ 1 callersFunctionmake_format_i
(options: impl AsRef<FormatSizeOptions>)
src/allocating.rs:15
↓ 1 callersMethodvalue
(&self)
src/options/mod.rs:23
Methoddefault
()
src/options/mod.rs:17
Methodfmt
(&self, f: &mut core::fmt::Formatter)
src/formatters.rs:17
Methodformat_size
(&self, opts: FormatSizeOptions)
src/impl_style.rs:13
Methodformat_size_i
(&self, opts: FormatSizeOptions)
src/impl_style.rs:19
Methodfrom
(source: &'a SizeFormatter<U, O>)
src/formatters.rs:137
Methodfrom
(from: FormatSizeOptions)
src/options/mod.rs:93
Methodkilo
(mut self, kilo: Kilo)
src/options/mod.rs:102
Functionmain
()
examples/sizes.rs:5
Functionmain
()
examples/custom_options.rs:4
Functionmake_format
( options: impl AsRef<FormatSizeOptions>, )
src/allocating.rs:19
Functionmax_value_binary
()
tests/test.rs:121
Functionmax_value_binary_128
()
tests/test.rs:130
Functionmax_value_decimal
()
tests/test.rs:113
Methodnew
(value: V, options: O)
src/formatters.rs:11
Functionpadding
()
tests/test.rs:196
Functionpluralization_works
()
tests/test.rs:86
Functionseparate_thousands
()
tests/test.rs:142
Functionseparate_thousands_i
()
tests/test.rs:160
Functionseparate_thousands_large
()
tests/test.rs:151
Functiontest
()
feature-tests/no-alloc/tests/no_alloc.rs:23
Functiontest_impl_style
()
feature-tests/impl-style/tests/impl_style.rs:6
Functiontest_sizes
()
tests/test.rs:6
Functionthousands_separator_decimal
()
tests/test.rs:169
Functionthousands_separator_decimal_2
()
tests/test.rs:177
Functionthousands_separator_decimal_3
()
tests/test.rs:186
Methodunits
(mut self, units: Kilo)
src/options/mod.rs:107
Functionuse_custom_option_struct_twice
()
tests/test.rs:77
Methodwrite_str
(&mut self, s: &str)
feature-tests/no-alloc/tests/no_alloc.rs:10