Crate interoptopus_backend_utils

Crate interoptopus_backend_utils 

Source

Macros§

render
Renders a template.
template_engine
Create a templated codegen engine for backends.

Structs§

IndentWriter
Emits code, line by line, with indentation.

Enums§

Error
Can be observed if something goes wrong.
WriteFor
Whether backends should emit signatures for code or documentation.

Constants§

FOUR_SPACES
You wouldn’t believe how hard typing exactly 4 spaces is.

Functions§

assert_file_unchanged
Used by backends to verify a file.ext matches an existing file.ext.expected.
indent_all_with
Indents each line in the given text with the specified prefix.