Struct flowistry_pdg::rustc::mir::UnevaluatedConst
source · pub struct UnevaluatedConst<'tcx> {
pub def: DefId,
pub args: &'tcx List<GenericArg<'tcx>>,
pub promoted: Option<Promoted>,
}
Expand description
An unevaluated (potentially generic) constant used in MIR.
Fields§
§def: DefId
§args: &'tcx List<GenericArg<'tcx>>
§promoted: Option<Promoted>
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for UnevaluatedConst<'tcx>
impl<'tcx> !Send for UnevaluatedConst<'tcx>
impl<'tcx> !Sync for UnevaluatedConst<'tcx>
impl<'tcx> Unpin for UnevaluatedConst<'tcx>
impl<'tcx> !UnwindSafe for UnevaluatedConst<'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