Struct rustc_mir::dataflow::move_paths::builder::MoveDataBuilder [−][src]
struct MoveDataBuilder<'a, 'tcx> {
body: &'a Body<'tcx>,
tcx: TyCtxt<'tcx>,
param_env: ParamEnv<'tcx>,
data: MoveData<'tcx>,
errors: Vec<(Place<'tcx>, MoveError<'tcx>)>,
}Fields
body: &'a Body<'tcx>tcx: TyCtxt<'tcx>param_env: ParamEnv<'tcx>data: MoveData<'tcx>errors: Vec<(Place<'tcx>, MoveError<'tcx>)>Implementations
impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]
impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]fn new(
body: &'a Body<'tcx>,
tcx: TyCtxt<'tcx>,
param_env: ParamEnv<'tcx>
) -> Self[src]
body: &'a Body<'tcx>,
tcx: TyCtxt<'tcx>,
param_env: ParamEnv<'tcx>
) -> Self
fn new_move_path(
move_paths: &mut IndexVec<MovePathIndex, MovePath<'tcx>>,
path_map: &mut IndexVec<MovePathIndex, SmallVec<[MoveOutIndex; 4]>>,
init_path_map: &mut IndexVec<MovePathIndex, SmallVec<[InitIndex; 4]>>,
parent: Option<MovePathIndex>,
place: Place<'tcx>
) -> MovePathIndex[src]
move_paths: &mut IndexVec<MovePathIndex, MovePath<'tcx>>,
path_map: &mut IndexVec<MovePathIndex, SmallVec<[MoveOutIndex; 4]>>,
init_path_map: &mut IndexVec<MovePathIndex, SmallVec<[InitIndex; 4]>>,
parent: Option<MovePathIndex>,
place: Place<'tcx>
) -> MovePathIndex
impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]
impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]
impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]fn gather_args(&mut self)[src]
fn gather_statement(&mut self, loc: Location, stmt: &Statement<'tcx>)[src]
fn gather_terminator(&mut self, loc: Location, term: &Terminator<'tcx>)[src]
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for MoveDataBuilder<'a, 'tcx>
impl<'a, 'tcx> !Send for MoveDataBuilder<'a, 'tcx>
impl<'a, 'tcx> !Sync for MoveDataBuilder<'a, 'tcx>
impl<'a, 'tcx> Unpin for MoveDataBuilder<'a, 'tcx> where
'tcx: 'a,
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for MoveDataBuilder<'a, 'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]