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