[][src]Trait trans_gen::Generator

pub trait Generator {
    type Options: Default;
    pub fn new(name: &str, version: &str, options: Self::Options) -> Self;
pub fn add_only(&mut self, schema: &Schema);
pub fn result(self) -> GenResult; }

Associated Types

Loading content...

Required methods

pub fn new(name: &str, version: &str, options: Self::Options) -> Self[src]

pub fn add_only(&mut self, schema: &Schema)[src]

pub fn result(self) -> GenResult[src]

Loading content...

Implementors

impl Generator for trans_gen::gens::cpp::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::csharp::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::dlang::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::fsharp::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::go::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::java::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::javascript::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::kotlin::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::markdown::Generator[src]

type Options = Options

impl Generator for trans_gen::gens::python::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::ruby::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::rust::Generator[src]

type Options = ()

impl Generator for trans_gen::gens::scala::Generator[src]

type Options = ()

Loading content...