pub struct Printer;
Expand description

Printer for the IR.

Implementations

Format attributes of the form @static(1). Returns the empty string if the attrs is empty.

Format attributes of the form <"static"=1>. Returns the empty string if the attrs is empty.

Formats port definitions in signatures

Prints out the program context. If skip_primitives is true, the printer will skip printing primitives defined outside the source file.

Formats and writes extern statements.

Formats and writes the Component to the formatter.

Format and write a cell.

Format and write an assignment.

Convinience method to get string representation of ir::Assignment.

Convinience method to get string representation of ir::Control.

Format and write a combinational group.

Format and write a group.

Format and write a static group.

Format and write a static control program

Format and write a control program

Generate a String-based representation for a guard.

Get the port access expression.

Formats the top-level metadata if present

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.