oxilean-parse 0.1.2

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

use super::types::NotationEntry;
use std::fmt;

impl fmt::Display for NotationEntry {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(
            f,
            "{} {} {} := {}",
            self.fixity, self.prec, self.symbol, self.decl_name
        )
    }
}