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