Struct vstd::atomic::PermissionUsize
source · pub struct PermissionUsize { /* private fields */ }
Implementations§
source§impl PermissionUsize
impl PermissionUsize
sourcepub spec fn view(self) -> PermissionDataUsize
pub spec fn view(self) -> PermissionDataUsize
sourcepub open spec fn is_for(&self, patomic: PAtomicUsize) -> bool
pub open spec fn is_for(&self, patomic: PAtomicUsize) -> 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 PermissionUsize
impl Send for PermissionUsize
impl Sync for PermissionUsize
impl Unpin for PermissionUsize
impl UnwindSafe for PermissionUsize
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