fixcol 0.2.0

A library for reading and writing fixed width / column delimited data files.
Documentation
use fixcol::{ReadFixed, WriteFixed};

struct Point {
    point_x: u16,
    point_y: u16,
}

#[derive(ReadFixed, WriteFixed)]
#[fixcol(key_width = 1)]
enum Alg {
    #[fixcol(key = "N")]
    Num(#[fixcol(width = 5)] u16),
    #[fixcol(key = "P", embed = true)]
    Point(Point),
    #[fixcol(key = "Z")]
    Zero,
}

pub fn main() {}