pub struct TopSortContext { /* private fields */ }Trait Implementations§
source§impl Analyzer<'_> for TopSortContext
impl Analyzer<'_> for TopSortContext
type Info = ()
fn visit_block_start( &mut self, _info: &mut Self::Info, block_id: BlockId, _block: &FlatBlock, )
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: impl Iterator<Item = Self::Info>, ) -> Self::Info
fn info_from_return( &mut self, _statement_location: StatementLocation, vars: &[VarUsage], ) -> Self::Info
source§fn info_from_panic(
&mut self,
_statement_location: StatementLocation,
data: &VarUsage,
) -> Self::Info
fn info_from_panic( &mut self, _statement_location: StatementLocation, data: &VarUsage, ) -> Self::Info
Default
info_from_panic implementation for post ‘lower_panics’ phases.
Earlier phases need to override this implementation.Auto Trait Implementations§
impl Freeze for TopSortContext
impl RefUnwindSafe for TopSortContext
impl Send for TopSortContext
impl Sync for TopSortContext
impl Unpin for TopSortContext
impl UnwindSafe for TopSortContext
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more