Struct rustc::middle::borrowck::move_data::MoveExperimental [-]  [+] [src]

pub struct Move {
    pub path: MovePathIndex,
    pub id: NodeId,
    pub kind: MoveKind,
    pub next_move: MoveIndex,
}

Fields

path

Path being moved.

id

id of node that is doing the move.

kind

Kind of move, for error messages.

next_move

Next node in linked list of moves from path, or InvalidMoveIndex

Methods

impl Move

fn to_string<'tcx>(&self, move_data: &MoveData<'tcx>, tcx: &ctxt<'tcx>) -> String

Trait Implementations

impl Copy for Move