pub struct AtomicInvPtr<T> { /* private fields */ }
Expand description
An atomic invariant pointer. Allows reading through an immutable reference without unsafe.
Implementations§
source§impl<Target> AtomicInvPtr<Target>
impl<Target> AtomicInvPtr<Target>
sourcepub fn from_parts(fote: usize, off: u64) -> Self
pub fn from_parts(fote: usize, off: u64) -> Self
Construct an InvPtr from an FOT entry and an offset.
Trait Implementations§
impl<T> !Unpin for AtomicInvPtr<T>
Auto Trait Implementations§
impl<T> !Freeze for AtomicInvPtr<T>
impl<T> ObjSafe for AtomicInvPtr<T>where
T: ObjSafe,
impl<T> RefUnwindSafe for AtomicInvPtr<T>where
T: RefUnwindSafe,
impl<T> Send for AtomicInvPtr<T>where
T: Send,
impl<T> Sync for AtomicInvPtr<T>where
T: Sync,
impl<T> UnwindSafe for AtomicInvPtr<T>where
T: UnwindSafe,
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