Skip to main content

malachite_nz/integer/conversion/string/
mod.rs

1// Copyright © 2026 Mikhail Hogrefe
2//
3// This file is part of Malachite.
4//
5// Malachite is free software: you can redistribute it and/or modify it under the terms of the GNU
6// Lesser General Public License (LGPL) as published by the Free Software Foundation; either version
7// 3 of the License, or (at your option) any later version. See <https://www.gnu.org/licenses/>.
8
9/// [`format_integer_str`](format_integer::format_integer_str), a function for formatting an
10/// [`Integer`](crate::integer::Integer) according to a GMP-style `printf` format string.
11pub mod format_integer;
12/// Implementations of [`FromSciString`](malachite_base::num::conversion::traits::FromSciString).
13/// This is a trait for converting strings, possibly using scientific notation, to numbers.
14pub mod from_sci_string;
15/// Implementations of [`FromStr`](core::str::FromStr) and of
16/// [`FromStringBase`](malachite_base::num::conversion::traits::FromStringBase), a trait for
17/// converting strings in a specified base to numbers.
18pub mod from_string;
19/// The implementation of [`ToLatex`](malachite_base::strings::latex::ToLatex) for a
20/// [`Integer`](crate::integer::Integer).
21pub mod latex;
22/// Implementations of [`ToSci`](malachite_base::num::conversion::traits::ToSci), a trait for
23/// converting a number to string, possibly using scientific notation.
24pub mod to_sci;
25/// Implementations of [`Display`](core::fmt::Display), [`Debug`], [`Binary`](core::fmt::Binary),
26/// [`Octal`](core::fmt::Octal), [`LowerHex`](core::fmt::LowerHex), and
27/// [`UpperHex`](core::fmt::UpperHex), and of the
28/// [`ToStringBase`](malachite_base::num::conversion::traits::ToStringBase) trait, used for
29/// converting numbers to strings.
30pub mod to_string;
31/// The implementation of [`ToTypst`](malachite_base::strings::typst::ToTypst) for a
32/// [`Integer`](crate::integer::Integer).
33pub mod typst;