oxilean-parse 0.1.2

OxiLean parser - Concrete syntax to abstract syntax
Documentation
//! # NotationKind - Trait Implementations
//!
//! This module contains trait implementations for `NotationKind`.
//!
//! ## Implemented Traits
//!
//! - `Display`
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::types::NotationKind;

impl std::fmt::Display for NotationKind {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            NotationKind::Prefix => write!(f, "prefix"),
            NotationKind::Infix => write!(f, "infix"),
            NotationKind::Postfix => write!(f, "postfix"),
            NotationKind::Notation => write!(f, "notation"),
        }
    }
}