diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-03 01:31:04 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-03 01:31:04 +0800 |
| commit | 8422e0ada52d8036c32257d84f069776e520079e (patch) | |
| tree | b3d3c1aabc40d1c4ab35467fef6f68b6100779a4 /mingling_core/src/renderer/general.rs | |
| parent | 8f44a3e779fb8ee66c8f51b49d6c77e5a80e3821 (diff) | |
Add missing articles and improve documentation
Diffstat (limited to 'mingling_core/src/renderer/general.rs')
| -rw-r--r-- | mingling_core/src/renderer/general.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mingling_core/src/renderer/general.rs b/mingling_core/src/renderer/general.rs index 4ca2683..3808e5a 100644 --- a/mingling_core/src/renderer/general.rs +++ b/mingling_core/src/renderer/general.rs @@ -4,6 +4,13 @@ use crate::{ use serde::Serialize; pub mod error; + +/// A general renderer that supports multiple serialization formats. +/// +/// The `GeneralRenderer` provides methods to serialize data into various formats +/// including JSON, YAML, TOML, and RON, with support for both regular and +/// pretty-printed variants. It is designed to work with types that implement +/// the `Serialize` trait. pub struct GeneralRenderer; impl GeneralRenderer { |
