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