Skip to main content

ToPlainText

Trait ToPlainText 

Source
pub trait ToPlainText {
    // Required method
    fn to_plain(&self) -> String;
}
Expand description

A trait for converting structure data to Plain Text for writing to *.txt or output to stdout

Required Methods§

Source

fn to_plain(&self) -> String

Convert structure fields to String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§