Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeopoldArkham/humansize
/ functions
Functions
42 in github.com/LeopoldArkham/humansize
⨍
Functions
42
◇
Types & classes
12
↓ 10 callers
Method
fixed_at
(mut self, fixed_at: Option<FixedAt>)
src/options/mod.rs:122
↓ 7 callers
Method
decimal_places
(mut self, decimal_places: usize)
src/options/mod.rs:112
↓ 6 callers
Method
long_units
(mut self, long_units: bool)
src/options/mod.rs:127
↓ 6 callers
Method
thousands_separator
(mut self, sep: Option<char>)
src/options/mod.rs:142
↓ 2 callers
Method
decimal_zeroes
(mut self, decimal_zeroes: usize)
src/options/mod.rs:117
↓ 2 callers
Function
f64_eq
(left: f64, right: f64)
src/utils.rs:3
↓ 2 callers
Function
format_size_i
(input: impl ToF64, options: impl AsRef<FormatSizeOptions>)
src/allocating.rs:7
↓ 2 callers
Method
space_after_value
(mut self, insert_space: bool)
src/options/mod.rs:132
↓ 2 callers
Method
suffix
(mut self, suffix: &'static str)
src/options/mod.rs:137
↓ 1 callers
Method
as_ref
(&self)
src/options/mod.rs:149
↓ 1 callers
Method
base_unit
(mut self, base_unit: BaseUnit)
src/options/mod.rs:97
↓ 1 callers
Function
format_size
(input: impl ToF64 + Unsigned, options: impl AsRef<FormatSizeOptions>)
src/allocating.rs:11
↓ 1 callers
Function
make_format_i
(options: impl AsRef<FormatSizeOptions>)
src/allocating.rs:15
↓ 1 callers
Method
value
(&self)
src/options/mod.rs:23
Method
default
()
src/options/mod.rs:17
Method
fmt
(&self, f: &mut core::fmt::Formatter)
src/formatters.rs:17
Method
format_size
(&self, opts: FormatSizeOptions)
src/impl_style.rs:13
Method
format_size_i
(&self, opts: FormatSizeOptions)
src/impl_style.rs:19
Method
from
(source: &'a SizeFormatter<U, O>)
src/formatters.rs:137
Method
from
(from: FormatSizeOptions)
src/options/mod.rs:93
Method
kilo
(mut self, kilo: Kilo)
src/options/mod.rs:102
Function
main
()
examples/sizes.rs:5
Function
main
()
examples/custom_options.rs:4
Function
make_format
( options: impl AsRef<FormatSizeOptions>, )
src/allocating.rs:19
Function
max_value_binary
()
tests/test.rs:121
Function
max_value_binary_128
()
tests/test.rs:130
Function
max_value_decimal
()
tests/test.rs:113
Method
new
(value: V, options: O)
src/formatters.rs:11
Function
padding
()
tests/test.rs:196
Function
pluralization_works
()
tests/test.rs:86
Function
separate_thousands
()
tests/test.rs:142
Function
separate_thousands_i
()
tests/test.rs:160
Function
separate_thousands_large
()
tests/test.rs:151
Function
test
()
feature-tests/no-alloc/tests/no_alloc.rs:23
Function
test_impl_style
()
feature-tests/impl-style/tests/impl_style.rs:6
Function
test_sizes
()
tests/test.rs:6
Function
thousands_separator_decimal
()
tests/test.rs:169
Function
thousands_separator_decimal_2
()
tests/test.rs:177
Function
thousands_separator_decimal_3
()
tests/test.rs:186
Method
units
(mut self, units: Kilo)
src/options/mod.rs:107
Function
use_custom_option_struct_twice
()
tests/test.rs:77
Method
write_str
(&mut self, s: &str)
feature-tests/no-alloc/tests/no_alloc.rs:10