8 releases
0.2.0 | Apr 27, 2021 |
---|---|
0.1.7 |
|
0.0.0 | Apr 22, 2021 |
#1606 in Algorithms
195 downloads per month
Used in parallel-disk-usage
47KB
944 lines
zero-copy-pads
Padding/aligning values without heap allocation.
Cargo Features
std
(default feature):- Disable
#![no_std]
. - Enable features that require heap allocation.
- Disable
Usage
API references and example codes can be found in docs.rs.
License
lib.rs
:
Padding/aligning values without heap allocation.
Features:
std
(default feature):- Disable
#![no_std]
. - Enable features that require heap allocation.
- Disable
Usage:
Almost all items are documented with example codes, such as
align_left
, align_right
, align_center_left
, align_center_right
,
align_column_left
, align_column_right
,
align_column_center_left
, align_column_center_right
,
PaddedValue
, PaddedColumn
, Alignment
,
AlignLeft
, AlignRight
, AlignCenterLeft
, AlignCenterRight
,
etc.
Dependencies
~3MB
~54K SLoC