Struct rustc_mir::borrow_check::Upvar [−][src]
pub(crate) struct Upvar<'tcx> {
place: CapturedPlace<'tcx>,
by_ref: bool,
}Fields
place: CapturedPlace<'tcx>by_ref: boolExpand description
If true, the capture is behind a reference.
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Upvar<'tcx>
impl<'tcx> !Send for Upvar<'tcx>
impl<'tcx> !Sync for Upvar<'tcx>
impl<'tcx> Unpin for Upvar<'tcx>
impl<'tcx> !UnwindSafe for Upvar<'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<T> WithConstness for T[src]
impl<T> WithConstness for T[src]