[][src]Struct humblegen::backend::elm::Generator

pub struct Generator { /* fields omitted */ }

Implementations

impl Generator[src]

pub fn new(artifact: Artifact, module_prefix: String) -> Result<Self, LibError>[src]

pub fn generate_user_defined_types(
    &self,
    spec: &Spec,
    outdir: &Path
) -> Result<(), LibError>
[src]

pub fn generate_decoders(
    &self,
    spec: &Spec,
    outdir: &Path
) -> Result<(), LibError>
[src]

pub fn generate_encoders(
    &self,
    spec: &Spec,
    outdir: &Path
) -> Result<(), LibError>
[src]

pub fn generate_endpoints(
    &self,
    spec: &Spec,
    outdir: &Path
) -> Result<(), LibError>
[src]

pub fn validate_output_dir(path: &Path) -> Result<(), LibError>[src]

Trait Implementations

impl CodeGenerator for Generator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.