VmfSerializable

Trait VmfSerializable 

Source
pub trait VmfSerializable {
    // Required method
    fn to_vmf_string(&self, indent_level: usize) -> String;
}
Expand description

A trait for types that can be serialized into a VMF string representation.

Required Methods§

Source

fn to_vmf_string(&self, indent_level: usize) -> String

Serializes the object into a VMF string.

§Arguments
  • indent_level - The indentation level to use for formatting.
§Returns

A string representation of the object in VMF format.

Implementors§