struct ExprScopeVisitor<'a> {
store: &'a ExpressionStore,
scopes: &'a mut ExprScopes,
scope: ScopeId,
const_scope: ScopeId,
}Fields§
§store: &'a ExpressionStore§scopes: &'a mut ExprScopes§scope: ScopeId§const_scope: ScopeIdImplementations§
Trait Implementations§
Source§impl StoreVisitor for ExprScopeVisitor<'_>
impl StoreVisitor for ExprScopeVisitor<'_>
fn on_expr(&mut self, expr: ExprId)
fn on_anon_const_expr(&mut self, expr: ExprId)
fn on_pat(&mut self, pat: PatId)
fn on_type(&mut self, ty: TypeRefId)
fn on_lifetime(&mut self, lifetime: LifetimeRefId)
fn on_generic_args(&mut self, args: &GenericArgs)
Auto Trait Implementations§
impl<'a> !UnwindSafe for ExprScopeVisitor<'a>
impl<'a> Freeze for ExprScopeVisitor<'a>
impl<'a> RefUnwindSafe for ExprScopeVisitor<'a>
impl<'a> Send for ExprScopeVisitor<'a>
impl<'a> Sync for ExprScopeVisitor<'a>
impl<'a> Unpin for ExprScopeVisitor<'a>
impl<'a> UnsafeUnpin for ExprScopeVisitor<'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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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