oxilean_codegen/go_backend/gostmt_traits.rs
1//! # GoStmt - Trait Implementations
2//!
3//! This module contains trait implementations for `GoStmt`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use crate::lcnf::*;
12
13use super::functions::format_stmts;
14use super::functions::*;
15use super::types::GoStmt;
16use std::fmt;
17
18impl fmt::Display for GoStmt {
19 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
20 write!(f, "{}", format_stmt(self, 0))
21 }
22}