String2StructureBuilder

Trait String2StructureBuilder 

Source
pub trait String2StructureBuilder {
    type Input;
    type Out;

    // Required methods
    fn new() -> Self;
    fn get_structure(&self) -> Self::Out;
    fn build(&mut self, input: &mut Self::Input) -> Result<(), Box<dyn Error>>;
}
Expand description

A trait that contains the needed functionallity to build a string-to-structure process.

Required Associated Types§

Required Methods§

Source

fn new() -> Self

Source

fn get_structure(&self) -> Self::Out

Source

fn build(&mut self, input: &mut Self::Input) -> Result<(), Box<dyn Error>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§