Struct capnpc::CompilerCommand [] [src]

pub struct CompilerCommand { /* fields omitted */ }

A builder object for schema compiler commands.

Methods

impl CompilerCommand
[src]

Creates a new, empty command.

Adds a file to be compiled.

Adds a --src-prefix flag. For all files specified for compilation that start with prefix, removes the prefix when computing output filenames.

Runs the command.