Struct subplot::TemplateSpec

source ·
pub struct TemplateSpec { /* private fields */ }
Expand description

A template specification.

Contains the information codegen needs to use a template for generating a test program. The names and types of fields match the files in the templates/.../template.yaml files.

Implementations

Read a template.yaml file and create the corresponding TemplateSpec.

Return the name of the template file.

Return iterator for names of helper files.

Return command to run the generated test program, if specified.

The name of the test program gets appended.

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.