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