pub struct VarDebugInfoFragment<'tcx> {
pub ty: Ty<'tcx>,
pub projection: Vec<ProjectionElem<Local, Ty<'tcx>>>,
}
Fields§
§ty: Ty<'tcx>
Type of the original user variable. This cannot contain a union or an enum.
projection: Vec<ProjectionElem<Local, Ty<'tcx>>>
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
.
Auto Trait Implementations§
impl<'tcx> Freeze for VarDebugInfoFragment<'tcx>
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