Struct flowistry_pdg::rustc::mir::MirSource
source · pub struct MirSource<'tcx> {
pub instance: InstanceDef<'tcx>,
pub promoted: Option<Promoted>,
}
Expand description
Where a specific mir::Body
comes from.
Fields§
§instance: InstanceDef<'tcx>
§promoted: Option<Promoted>
If Some
, this is a promoted rvalue within the parent function.
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for MirSource<'tcx>
impl<'tcx> !Send for MirSource<'tcx>
impl<'tcx> !Sync for MirSource<'tcx>
impl<'tcx> Unpin for MirSource<'tcx>
impl<'tcx> !UnwindSafe for MirSource<'tcx>
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