[][src]Trait ucglib::convert::traits::Converter

pub trait Converter {
    fn convert(&self, vs: Rc<Val>, w: &mut dyn Write) -> ConvertResult;
fn file_ext(&self) -> String;
fn description(&self) -> String;
fn help(&self) -> String; }

The trait that Converters from Val to different output formats for the final conversion stage of the ucg compiler.

Required methods

fn convert(&self, vs: Rc<Val>, w: &mut dyn Write) -> ConvertResult

fn file_ext(&self) -> String

fn description(&self) -> String

fn help(&self) -> String

Loading content...

Implementors

impl Converter for EnvConverter[src]

impl Converter for ExecConverter[src]

impl Converter for FlagConverter[src]

impl Converter for JsonConverter[src]

impl Converter for TomlConverter[src]

impl Converter for XmlConverter[src]

impl Converter for YamlConverter[src]

Loading content...