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