[−][src]Struct rustc_mir::dataflow::impls::liveness::MaybeLiveLocals

pub struct MaybeLiveLocals;

A live-variable dataflow analysis.

This analysis considers references as being used only at the point of the borrow. In other words, this analysis does not track uses because of references that already exist. See this mir-datalow test for an example. You almost never want to use this analysis without also looking at the results of MaybeBorrowedLocals.

Implementations

impl MaybeLiveLocals[src]

fn transfer_function<T, 'a>(&self, trans: &'a mut T) -> TransferFunction<'a, T>[src]

Trait Implementations

impl<'tcx> AnalysisDomain<'tcx> for MaybeLiveLocals[src]

type Idx = Local

The type of the elements in the state vector.

type Direction = Backward

The direction of this analyis. Either Forward or Backward.

impl BottomValue for MaybeLiveLocals[src]

impl<'tcx> GenKillAnalysis<'tcx> for MaybeLiveLocals[src]

impl<'tcx> RustcPeekAt<'tcx> for MaybeLiveLocals[src]

Auto Trait Implementations

impl RefUnwindSafe for MaybeLiveLocals

impl Send for MaybeLiveLocals

impl Sync for MaybeLiveLocals

impl Unpin for MaybeLiveLocals

impl UnwindSafe for MaybeLiveLocals

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<'tcx, A> RustcPeekAt<'tcx> for A where
    A: Analysis<'tcx, Idx = MovePathIndex> + HasMoveData<'tcx>, 
[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]