forked from TheAlgorithms/Rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.rs
More file actions
55 lines (54 loc) · 2.05 KB
/
mod.rs
File metadata and controls
55 lines (54 loc) · 2.05 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
mod binary_to_decimal;
mod binary_to_hexadecimal;
mod binary_to_octal;
mod decimal_to_binary;
mod decimal_to_hexadecimal;
mod decimal_to_octal;
mod energy;
mod hexadecimal_to_binary;
mod hexadecimal_to_decimal;
mod hexadecimal_to_octal;
mod ipv4_conversion;
mod length_conversion;
mod octal_to_binary;
mod octal_to_decimal;
mod octal_to_hexadecimal;
mod order_of_magnitude_conversion;
mod pressure;
mod rectangular_to_polar;
mod rgb_cmyk_conversion;
mod rgb_hsv_conversion;
mod roman_numerals;
mod speed;
mod temperature;
mod time;
mod volume;
mod weight;
pub use self::binary_to_decimal::binary_to_decimal;
pub use self::binary_to_hexadecimal::binary_to_hexadecimal;
pub use self::binary_to_octal::binary_to_octal;
pub use self::decimal_to_binary::decimal_to_binary;
pub use self::decimal_to_hexadecimal::decimal_to_hexadecimal;
pub use self::decimal_to_octal::decimal_to_octal;
pub use self::energy::{convert_energy, EnergyUnit};
pub use self::hexadecimal_to_binary::hexadecimal_to_binary;
pub use self::hexadecimal_to_decimal::hexadecimal_to_decimal;
pub use self::hexadecimal_to_octal::hexadecimal_to_octal;
pub use self::ipv4_conversion::{alt_ipv4_to_decimal, decimal_to_ipv4, ipv4_to_decimal, Ipv4Error};
pub use self::length_conversion::length_conversion;
pub use self::octal_to_binary::octal_to_binary;
pub use self::octal_to_decimal::octal_to_decimal;
pub use self::octal_to_hexadecimal::octal_to_hexadecimal;
pub use self::order_of_magnitude_conversion::{
convert_metric_length, metric_length_conversion, MetricLengthUnit,
};
pub use self::pressure::{convert_pressure, PressureUnit};
pub use self::rectangular_to_polar::rectangular_to_polar;
pub use self::rgb_cmyk_conversion::rgb_to_cmyk;
pub use self::rgb_hsv_conversion::{hsv_to_rgb, rgb_to_hsv, ColorError, Hsv, Rgb};
pub use self::roman_numerals::{int_to_roman, roman_to_int};
pub use self::speed::{convert_speed, SpeedUnit};
pub use self::temperature::{convert_temperature, TemperatureUnit};
pub use self::time::convert_time;
pub use self::volume::{convert_volume, VolumeUnit};
pub use self::weight::{convert_weight, WeightUnit};