Enum rustc_mir_build::thir::Guard [−][src]
pub enum Guard<'thir, 'tcx> {
If(&'thir Expr<'thir, 'tcx>),
IfLet(Pat<'tcx>, &'thir Expr<'thir, 'tcx>),
}Variants
If(&'thir Expr<'thir, 'tcx>)Trait Implementations
Auto Trait Implementations
impl<'thir, 'tcx> !RefUnwindSafe for Guard<'thir, 'tcx>
impl<'thir, 'tcx> !Send for Guard<'thir, 'tcx>
impl<'thir, 'tcx> !Sync for Guard<'thir, 'tcx>
impl<'thir, 'tcx> Unpin for Guard<'thir, 'tcx> where
'tcx: 'thir,
'tcx: 'thir,
impl<'thir, 'tcx> !UnwindSafe for Guard<'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,