[−][src]Struct rustc_mir::transform::generator::StorageConflictVisitor
Fields
body: &'mir Body<'tcx>saved_locals: &'s GeneratorSavedLocalslocal_conflicts: BitMatrix<Local, Local>Implementations
impl<'body, 'tcx, 's> StorageConflictVisitor<'body, 'tcx, 's>[src]
pub(in transform::generator) fn apply_state(
&mut self,
flow_state: &BitSet<Local>,
loc: Location
)[src]
&mut self,
flow_state: &BitSet<Local>,
loc: Location
)
Trait Implementations
impl<'mir, 'tcx, '_> ResultsVisitor<'mir, 'tcx> for StorageConflictVisitor<'mir, 'tcx, '_>[src]
type FlowState = BitSet<Local>
pub fn visit_statement_before_primary_effect(
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
loc: Location
)[src]
&mut self,
state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
loc: Location
)
pub fn visit_terminator_before_primary_effect(
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
loc: Location
)[src]
&mut self,
state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
loc: Location
)
pub fn visit_block_start(
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)[src]
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)
pub fn visit_statement_after_primary_effect(
&mut self,
_state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)[src]
&mut self,
_state: &Self::FlowState,
_statement: &'mir Statement<'tcx>,
_location: Location
)
pub fn visit_terminator_after_primary_effect(
&mut self,
_state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)[src]
&mut self,
_state: &Self::FlowState,
_terminator: &'mir Terminator<'tcx>,
_location: Location
)
pub fn visit_block_end(
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)[src]
&mut self,
_state: &Self::FlowState,
_block_data: &'mir BasicBlockData<'tcx>,
_block: BasicBlock
)
Auto Trait Implementations
impl<'mir, 'tcx, 's> !RefUnwindSafe for StorageConflictVisitor<'mir, 'tcx, 's>
impl<'mir, 'tcx, 's> !Send for StorageConflictVisitor<'mir, 'tcx, 's>
impl<'mir, 'tcx, 's> !Sync for StorageConflictVisitor<'mir, 'tcx, 's>
impl<'mir, 'tcx, 's> Unpin for StorageConflictVisitor<'mir, 'tcx, 's> where
'tcx: 'mir,
'tcx: 'mir,
impl<'mir, 'tcx, 's> !UnwindSafe for StorageConflictVisitor<'mir, 'tcx, 's>
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.