Struct mm0b_parser::ThmBuilder[][src]

pub struct ThmBuilder<'a, W>(_, _);
Expand description

An unfinished axiom or theorem. The unify and proof streams should be used to write unify and proof commands, respectively, and when completed the finish function will finalize the streams and return the ThmId of the new theorem.

Implementations

A reference to the unify stream for this theorem. Use UnifyCmd::write_to to add commands to this stream. Do not add an END command at the end; [finish] will handle that.

A reference to the proof stream for this theorem. Use ProofCmd::write_to to add commands to this stream. Do not add an END command at the end; [finish] will handle that.

Finish the unify and proof streams for this theorem, and finalize the theorem addition. Returns the ID of the newly created theorem.

Trait Implementations

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.