Struct rustc_mir::borrow_check::type_check::liveness::polonius::UseFactsExtractor[−][src]

struct UseFactsExtractor<'me> {
    var_defined_at: &'me mut Vec<(Local, LocationIndex)>,
    var_used_at: &'me mut Vec<(Local, LocationIndex)>,
    location_table: &'me LocationTable,
    var_dropped_at: &'me mut Vec<(Local, LocationIndex)>,
    move_data: &'me MoveData<'me>,
    path_accessed_at_base: &'me mut Vec<(MovePathIndex, LocationIndex)>,
}

Fields

var_defined_at: &'me mut Vec<(Local, LocationIndex)>var_used_at: &'me mut Vec<(Local, LocationIndex)>location_table: &'me LocationTablevar_dropped_at: &'me mut Vec<(Local, LocationIndex)>move_data: &'me MoveData<'me>path_accessed_at_base: &'me mut Vec<(MovePathIndex, LocationIndex)>

Implementations

impl UseFactsExtractor<'_>[src]

fn location_to_index(&self, location: Location) -> LocationIndex[src]

fn insert_def(&mut self, local: Local, location: Location)[src]

fn insert_use(&mut self, local: Local, location: Location)[src]

fn insert_drop_use(&mut self, local: Local, location: Location)[src]

fn insert_path_access(&mut self, path: MovePathIndex, location: Location)[src]

fn place_to_mpi(&self, place: &Place<'_>) -> Option<MovePathIndex>[src]

Trait Implementations

impl<'tcx> Visitor<'tcx> for UseFactsExtractor<'_>[src]

Auto Trait Implementations

impl<'me> !RefUnwindSafe for UseFactsExtractor<'me>

impl<'me> !Send for UseFactsExtractor<'me>

impl<'me> !Sync for UseFactsExtractor<'me>

impl<'me> Unpin for UseFactsExtractor<'me>

impl<'me> !UnwindSafe for UseFactsExtractor<'me>

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]