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