Struct rustc_mir_build::thir::Stmt [−][src]
pub struct Stmt<'thir, 'tcx> {
pub kind: StmtKind<'thir, 'tcx>,
pub opt_destruction_scope: Option<Scope>,
}Fields
kind: StmtKind<'thir, 'tcx>opt_destruction_scope: Option<Scope>Trait Implementations
impl<'thir, 'tcx> ArenaAllocatable<'thir, 'tcx, Stmt<'thir, 'tcx>> for Stmt<'thir, 'tcx>[src]
impl<'thir, 'tcx> ArenaAllocatable<'thir, 'tcx, Stmt<'thir, 'tcx>> for Stmt<'thir, 'tcx>[src]fn allocate_on(self, arena: &'thir Arena<'thir, 'tcx>) -> &'thir mut Self[src]
fn allocate_from_iter(
arena: &'thir Arena<'thir, 'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'thir mut [Self][src]
arena: &'thir Arena<'thir, 'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'thir mut [Self]
Auto Trait Implementations
impl<'thir, 'tcx> !RefUnwindSafe for Stmt<'thir, 'tcx>
impl<'thir, 'tcx> !Send for Stmt<'thir, 'tcx>
impl<'thir, 'tcx> !Sync for Stmt<'thir, 'tcx>
impl<'thir, 'tcx> Unpin for Stmt<'thir, 'tcx> where
'tcx: 'thir,
'tcx: 'thir,
impl<'thir, 'tcx> !UnwindSafe for Stmt<'thir, 'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,