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