Modules§
Macros§
- match_
cast - Match through different types.
- svec
- Create a
Vec<String>fromVec<&str>.
Structs§
- Chunks
AtMost - Skip
Last Iterator - An iterator that skips the last element of the underlying iterator.
- Unique
Iterator - An iterator that yields only the unique elements from an underlying iterator, preserving the order in which they first appear.
- XorShift
Rng - A simple, fast Pseudo-Random Number Generator (PRNG) using the xorshift* algorithm. This provides better statistical properties than a simple Linear Congruential Generator (LCG).
Constants§
- BASE_
CALC_ SOMA - Valores de 101 a 199
- CFOP_
DE_ EXPORTACAO - CFOP de Exportação:
- CFOP_
VENDA_ DE_ IMOBILIZADO - CODIGO_
DA_ NATUREZA_ BC - Valores de 1 a 18
- CSTS_
NAO_ TRIBUTADOS - CST_ALL
- Valores de 1 a 99
- CST_
CREDITO - CST_
CREDITO_ BASICO - CST_
CREDITO_ PRESUMIDO - CST_
RECEITA_ BRUTA - Valores de 1 a 9 e 49
- PATTERN
Statics§
Traits§
- BTree
SetExtension - Trait extension for BTreeSet
- Bytes
Extension - Byte slice
&[u8]extension. - Colors
- File
Extension - Adds a counter for the number of lines in a file.
- Float
Iter Ext - Find the maximum value of
Vec<f64>. - Hash
SetExtension - Trait extension for HashSet
- Integer
Iter Ext - Find the maximum value of
Vec<u32>. - Iterator
Back - The
IteratorBacktrait provides extension methods for iterators to skip a specified number of elements from their end. - Iterator
Ext - Extension trait for iterators, providing additional functionality.
- Iterator
Extension - Count function consumes the Lines:
- Operations
Extension - Add operations:
x += y,x -= y,x *= yandx /= y. - Option
Extension - Adds some methods to the
Option<T>. - Partition
- Partition into unique and duplicate slice elements.
- Print
With Spaces - Print Extension with Debug
- Result
Ext - Result Extension
- Round
Float - Round floating numbers (f32 or f64)
- Shuffle
- A trait for shuffling mutable slices in place.
- Slice
Extension - Trait extension for Slice
- StrExtension
- Trait extension for &str or String
- String
Extension - Trait extension for String
- TryConvert
Extension - Try Convert Extension
- U8Extension
- u8 Extension
- Unique
Elements - A trait for extracting unique elements from a vector.
Functions§
- array_
to_ vec - convert
array: [T; N]toVec<Option<U>> - blake3_
hash - Calculates the Blake3 hash from Path.
- clear_
terminal_ screen - Clear (wipe) the terminal screen
- get_
naive_ date - Gets Date from a string containing 8 digits.
- get_
naive_ date_ v2 - Gets Date from a string containing 8 digits.
- get_
progressbar - Command line progress with indicatif ProgressBar
- get_
style - Genarate ProgressStyle by template and progress characters.
- my_
print - Print to file and to stdout
- num_
digits - Returns the number of digits in an integer.
- open_
file - Opens a file at the specified path.
- print_
slice_ divided_ by_ n_ subsets - Print slice divided by n subsets
- print_
split - Split a slice into smaller slices of size N.
- rand
- Generate random numbers without external dependencies
- random_
in_ range - Generates a random integer within a given range
[min, max](inclusive). - string_
to_ vec_ of_ integers - Convert a string of digits to a vector of digits Vec<u32>
- thousands_
separator - Add the thousands separator to float64 with the specified decimal number.
- thousands_
separator_ v2 - Add the thousands separator to float64 with the specified decimal number.
- to_
vec_ slice - Convert Vec<String> to Vec<&str>
- to_
vec_ string - Convert Vec<&str> to Vec<String>
- try_
convert - Generic numeric conversion.