Skip to main content

oxilean_codegen/mlir_backend/
cmpfpred_traits.rs

1//! # CmpfPred - Trait Implementations
2//!
3//! This module contains trait implementations for `CmpfPred`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::CmpfPred;
12use std::fmt;
13
14impl fmt::Display for CmpfPred {
15    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
16        match self {
17            CmpfPred::Oeq => write!(f, "oeq"),
18            CmpfPred::One => write!(f, "one"),
19            CmpfPred::Olt => write!(f, "olt"),
20            CmpfPred::Ole => write!(f, "ole"),
21            CmpfPred::Ogt => write!(f, "ogt"),
22            CmpfPred::Oge => write!(f, "oge"),
23            CmpfPred::Ueq => write!(f, "ueq"),
24            CmpfPred::Une => write!(f, "une"),
25        }
26    }
27}