Struct endbasic_std::testutils::RecordedProgram[][src]

pub struct RecordedProgram { /* fields omitted */ }
Expand description

A stored program that exposes golden contents and accepts new content from the console when edits are requested.

Trait Implementations

Returns the “default value” for a type. Read more

Returns true if the program was modified since it was last saved (as indicated by a call to set_name). Read more

Edits the program interactively via the given console.

Reloads the contents of the stored program with the given text and tracks them as coming from the file given in name. Read more

Path of the loaded program. Should be None if the program has never been saved yet.

Resets the name of the program. Used when saving it.

Gets the contents of the stored program as a single string.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more