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