Enum paralegal_spdg::rustc::mir::AssertKind
source · pub enum AssertKind<O> {
BoundsCheck {
len: O,
index: O,
},
Overflow(BinOp, O, O),
OverflowNeg(O),
DivisionByZero(O),
RemainderByZero(O),
ResumedAfterReturn(GeneratorKind),
ResumedAfterPanic(GeneratorKind),
MisalignedPointerDereference {
required: O,
found: O,
},
}
Expand description
Information about an assertion failure.
Variants§
BoundsCheck
Overflow(BinOp, O, O)
OverflowNeg(O)
DivisionByZero(O)
RemainderByZero(O)
ResumedAfterReturn(GeneratorKind)
ResumedAfterPanic(GeneratorKind)
MisalignedPointerDereference
Auto Trait Implementations§
impl<O> RefUnwindSafe for AssertKind<O>where O: RefUnwindSafe,
impl<O> Send for AssertKind<O>where O: Send,
impl<O> Sync for AssertKind<O>where O: Sync,
impl<O> Unpin for AssertKind<O>where O: Unpin,
impl<O> UnwindSafe for AssertKind<O>where O: UnwindSafe,
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