pub enum Contract<'tcx> {
ValueCheck {
op: Op,
value: Value,
},
StateCheck {
op: Op,
state: StateType<'tcx>,
},
}
Variants§
Trait Implementations§
impl<'tcx> StructuralPartialEq for Contract<'tcx>
Auto Trait Implementations§
impl<'tcx> Freeze for Contract<'tcx>
impl<'tcx> !RefUnwindSafe for Contract<'tcx>
impl<'tcx> Send for Contract<'tcx>
impl<'tcx> Sync for Contract<'tcx>
impl<'tcx> Unpin for Contract<'tcx>
impl<'tcx> !UnwindSafe for Contract<'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