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