Struct paralegal_spdg::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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.