Skip to main content

oxilean_codegen/runtime_codegen/
stringlayout_traits.rs

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