Skip to main content

oxilean_codegen/wasm_backend/
wasmmodule_traits.rs

1//! # WasmModule - Trait Implementations
2//!
3//! This module contains trait implementations for `WasmModule`.
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::types::WasmModule;
14use std::fmt;
15
16impl fmt::Display for WasmModule {
17    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
18        write!(f, "{}", self.to_wat())
19    }
20}