Struct rustc_mir::dataflow::move_paths::builder::MoveDataBuilder [−][src]
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]
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]
fn finalize(
self
) -> Result<MoveData<'tcx>, (MoveData<'tcx>, Vec<(Place<'tcx>, MoveError<'tcx>)>)>[src]
self
) -> Result<MoveData<'tcx>, (MoveData<'tcx>, Vec<(Place<'tcx>, MoveError<'tcx>)>)>
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.