Struct vstd::rwlock::InvariantPredicate_auto_RwLock_rc
source · pub struct InvariantPredicate_auto_RwLock_rc {}
Trait Implementations§
source§impl<V, Pred: RwLockPredicate<V>> AtomicInvariantPredicate<Tracked<Instance<(Pred, CellId), PointsTo<V>, InternalPred<V, Pred>>>, u64, flag_rc<(Pred, CellId), PointsTo<V>, InternalPred<V, Pred>>> for InvariantPredicate_auto_RwLock_rc
impl<V, Pred: RwLockPredicate<V>> AtomicInvariantPredicate<Tracked<Instance<(Pred, CellId), PointsTo<V>, InternalPred<V, Pred>>>, u64, flag_rc<(Pred, CellId), PointsTo<V>, InternalPred<V, Pred>>> for InvariantPredicate_auto_RwLock_rc
source§open spec fn atomic_inv(
declare_struct_with_invariants_tmp_k: FieldType_RwLock_inst<V, Pred>,
declare_struct_with_invariants_tmp_v: u64,
declare_struct_with_invariants_tmp_g: flag_rc<(Pred, CellId), PointsTo<V>, InternalPred<V, Pred>>
) -> bool
open spec fn atomic_inv( declare_struct_with_invariants_tmp_k: FieldType_RwLock_inst<V, Pred>, declare_struct_with_invariants_tmp_v: u64, declare_struct_with_invariants_tmp_g: flag_rc<(Pred, CellId), PointsTo<V>, InternalPred<V, Pred>> ) -> bool
{
let inst = declare_struct_with_invariants_tmp_k;
let v = declare_struct_with_invariants_tmp_v;
let g = declare_struct_with_invariants_tmp_g;
{ g@.instance == inst@ && g@.value == v }
}
Auto Trait Implementations§
impl RefUnwindSafe for InvariantPredicate_auto_RwLock_rc
impl Send for InvariantPredicate_auto_RwLock_rc
impl Sync for InvariantPredicate_auto_RwLock_rc
impl Unpin for InvariantPredicate_auto_RwLock_rc
impl UnwindSafe for InvariantPredicate_auto_RwLock_rc
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