[−][src]Struct rustc_mir::dataflow::move_paths::builder::MoveDataBuilder

pub(in dataflow::move_paths::builder) 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]

pub(in dataflow::move_paths::builder) fn new(
    body: &'a Body<'tcx>,
    tcx: TyCtxt<'tcx>,
    param_env: ParamEnv<'tcx>
) -> Self
[src]

pub(in dataflow::move_paths::builder) 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]

impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]

pub(in dataflow::move_paths::builder) fn finalize(
    self
) -> Result<MoveData<'tcx>, (MoveData<'tcx>, Vec<(Place<'tcx>, MoveError<'tcx>)>)>
[src]

impl<'a, 'tcx> MoveDataBuilder<'a, 'tcx>[src]

pub(in dataflow::move_paths::builder) fn gather_args(
    &mut self
)
[src]

pub(in dataflow::move_paths::builder) fn gather_statement(
    &mut self,
    loc: Location,
    stmt: &Statement<'tcx>
)
[src]

pub(in dataflow::move_paths::builder) 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, 

impl<'a, 'tcx> !UnwindSafe for MoveDataBuilder<'a, 'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]