Trait toml_example::traits::TomlExample
source · pub trait TomlExample {
// Required method
fn toml_example() -> String;
// Provided method
fn to_toml_example(file_name: &str) -> Result<()> { ... }
}Required Methods§
sourcefn toml_example() -> String
fn toml_example() -> String
structure to toml example