Struct flowistry_pdg::rustc::mir::VarDebugInfoFragment
source · pub struct VarDebugInfoFragment<'tcx> {
pub projection: Vec<ProjectionElem<Local, Ty<'tcx>>, Global>,
pub contents: Place<'tcx>,
}
Fields§
§projection: Vec<ProjectionElem<Local, Ty<'tcx>>, Global>
Where in the composite user variable this fragment is, represented as a “projection” into the composite variable. At lower levels, this corresponds to a byte/bit range.
This can only contain PlaceElem::Field
.
contents: Place<'tcx>
Where the data for this fragment can be found.
This Place
only contains projection which satisfy can_use_in_debuginfo
.
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for VarDebugInfoFragment<'tcx>
impl<'tcx> !Send for VarDebugInfoFragment<'tcx>
impl<'tcx> !Sync for VarDebugInfoFragment<'tcx>
impl<'tcx> Unpin for VarDebugInfoFragment<'tcx>
impl<'tcx> !UnwindSafe for VarDebugInfoFragment<'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