[][src]Module c2rust_refactor::command

Command management and overall refactoring state.

Structs

CommandState

Mutable state that can be modified by a "driver" command. This is normally paired with a RefactorCtxt, which contains immutable analysis results from the original input Crate.

DriverCommand

Wrap a FnMut to produce a command that invokes the rustc driver and operates over the results.

FuncCommand

Wraps a FnMut to produce a Command.

RefactorState

Stores the overall state of the refactoring process, which can be read and updated by Commands.

Registry

Tracks known refactoring command builders, and allows invoking them by name.

Enums

TypeckLoopResult

Traits

Command

Implementation of a refactoring command.

Functions

register_commands

Type Definitions

Builder

A command builder is a function that takes some string arguments and produces a Command.