pub struct ReorderStatementsContext<'a> { /* private fields */ }
Trait Implementations§
source§impl Analyzer<'_> for ReorderStatementsContext<'_>
impl Analyzer<'_> for ReorderStatementsContext<'_>
type Info = ReorderStatementsInfo
fn visit_stmt( &mut self, info: &mut Self::Info, statement_location: StatementLocation, stmt: &Statement )
fn visit_goto( &mut self, info: &mut Self::Info, statement_location: StatementLocation, _target_block_id: BlockId, remapping: &VarRemapping )
fn merge_match( &mut self, statement_location: StatementLocation, match_info: &MatchInfo, infos: &[Self::Info] ) -> Self::Info
fn info_from_return( &mut self, statement_location: StatementLocation, vars: &[VarUsage] ) -> Self::Info
fn visit_block_start( &mut self, info: &mut Self::Info, block_id: BlockId, block: &FlatBlock )
source§fn info_from_panic(
&mut self,
statement_location: StatementLocation,
var: &VarUsage
) -> Self::Info
fn info_from_panic( &mut self, statement_location: StatementLocation, var: &VarUsage ) -> Self::Info
Default
info_from_panic
implementation for post ‘lower_panics’ phases.
Earlier phases need to override this implementation.Auto Trait Implementations§
impl<'a> RefUnwindSafe for ReorderStatementsContext<'a>
impl<'a> Send for ReorderStatementsContext<'a>
impl<'a> Sync for ReorderStatementsContext<'a>
impl<'a> Unpin for ReorderStatementsContext<'a>
impl<'a> UnwindSafe for ReorderStatementsContext<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more