Struct code_builder::CodeBuilder [] [src]

pub struct CodeBuilder { /* fields omitted */ }

Methods

impl CodeBuilder
[src]

[src]

Adds a single line of code to this code builder, formatting it based on previous code.

[src]

Adds one or more lines (split by "\n") to this code builder.

[src]

Adds the result of another CodeBuilder.

[src]

Returns the code in this code builder so far.

[src]

Returns a new CodeBuilder.

[src]

Returns a new CodeBuilder with the given indent size.

[src]

Returns a formatted string using the CodeBuilder.

Trait Implementations

impl Debug for CodeBuilder
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for CodeBuilder

impl Sync for CodeBuilder