struct LayoutConstrainedPlaceVisitor<'a, 'tcx> {
found: bool,
thir: &'a Thir<'tcx>,
tcx: TyCtxt<'tcx>,
}Fields
found: boolthir: &'a Thir<'tcx>tcx: TyCtxt<'tcx>Implementations
sourceimpl<'a, 'tcx> LayoutConstrainedPlaceVisitor<'a, 'tcx>
impl<'a, 'tcx> LayoutConstrainedPlaceVisitor<'a, 'tcx>
Trait Implementations
sourceimpl<'a, 'tcx> Visitor<'a, 'tcx> for LayoutConstrainedPlaceVisitor<'a, 'tcx>
impl<'a, 'tcx> Visitor<'a, 'tcx> for LayoutConstrainedPlaceVisitor<'a, 'tcx>
fn thir(&self) -> &'a Thir<'tcx>
fn visit_expr(&mut self, expr: &Expr<'tcx>)
fn visit_stmt(&mut self, stmt: &Stmt<'tcx>)
fn visit_block(&mut self, block: &Block)
fn visit_arm(&mut self, arm: &Arm<'tcx>)
fn visit_pat(&mut self, pat: &Pat<'tcx>)
fn visit_const(&mut self, _cnst: &'tcx Const<'tcx>)
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for LayoutConstrainedPlaceVisitor<'a, 'tcx>
impl<'a, 'tcx> !Send for LayoutConstrainedPlaceVisitor<'a, 'tcx>
impl<'a, 'tcx> !Sync for LayoutConstrainedPlaceVisitor<'a, 'tcx>
impl<'a, 'tcx> Unpin for LayoutConstrainedPlaceVisitor<'a, 'tcx> where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for LayoutConstrainedPlaceVisitor<'a, 'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes