Enum paralegal_spdg::rustc::mir::visit::NonUseContext
source · pub enum NonUseContext {
StorageLive,
StorageDead,
AscribeUserTy(Variance),
VarDebugInfo,
}
Variants§
StorageLive
Starting a storage live range.
StorageDead
Ending a storage live range.
AscribeUserTy(Variance)
User type annotation assertions for NLL.
VarDebugInfo
The data of a user variable, for debug info.
Auto Trait Implementations§
impl RefUnwindSafe for NonUseContext
impl Send for NonUseContext
impl Sync for NonUseContext
impl Unpin for NonUseContext
impl UnwindSafe for NonUseContext
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.