xcolabel 0.2.0

Convert between column label to 0-based number
Documentation
  • Coverage
  • 60%
    9 out of 15 items documented1 out of 13 items with examples
  • Size
  • Source code size: 14.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 357.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • yamaura/xcolabel
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yamaura

xcolabel

Convert between column label to 0-based number.

xcolabel converts between 0-based numbers and column labels of spreadsheet software. For example, "A" becomes 0. "AA" becomes 26. It also converts tuples of the form (row, column) into strings like "C2".

Status

xcolabel is a pure Rust library. Everything except TryFromCellStr has been implemented.

Examples

use xcolabel::ToCellString;

assert_eq!((4, 2).to_cell_string(), "C5"); // value is 0-based (row, column)