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