labelize 0.2.1

Fast Rust engine to parse ZPL & EPL label data and render to PNG/PDF. CLI, HTTP microservice, or library. Open-source Labelary alternative.
Documentation
#[derive(Clone, Copy, Debug, PartialEq, Eq, Default)]
pub enum FieldOrientation {
    #[default]
    Normal = 0,
    Rotated90 = 1,
    Rotated180 = 2,
    Rotated270 = 3,
}

impl FieldOrientation {
    pub fn get_degrees(&self) -> f64 {
        match self {
            FieldOrientation::Normal => 0.0,
            FieldOrientation::Rotated90 => 90.0,
            FieldOrientation::Rotated180 => 180.0,
            FieldOrientation::Rotated270 => 270.0,
        }
    }
}