Struct vstd::atomic::PermissionIsize
source · pub struct PermissionIsize { /* private fields */ }
Implementations§
source§impl PermissionIsize
impl PermissionIsize
sourcepub spec fn view(self) -> PermissionDataIsize
pub spec fn view(self) -> PermissionDataIsize
sourcepub open spec fn is_for(&self, patomic: PAtomicIsize) -> bool
pub open spec fn is_for(&self, patomic: PAtomicIsize) -> bool
{ self.view().patomic == patomic.id() }
sourcepub open spec fn id(&self) -> AtomicCellId
pub open spec fn id(&self) -> AtomicCellId
{ self.view().patomic }
Auto Trait Implementations§
impl RefUnwindSafe for PermissionIsize
impl Send for PermissionIsize
impl Sync for PermissionIsize
impl Unpin for PermissionIsize
impl UnwindSafe for PermissionIsize
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