Struct oursh::program::basic::Program[][src]

pub struct Program(_);
Expand description

A basic program with only a single command.

Trait Implementations

Formats the value using the given formatter. Read more

Create a new program from the given reader.

use oursh::program::{Program, BasicProgram};

BasicProgram::parse(b"ls" as &[u8]);

Return the single parsed command.

The type of each of this program’s commands.

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.