pub struct PtrData {
pub addr: usize,
pub provenance: Provenance,
pub metadata: Metadata,
}
Expand description
Model of a pointer *mut T
or *const T
in Rust’s abstract machine
Fields§
§addr: usize
§provenance: Provenance
§metadata: Metadata
Auto Trait Implementations§
impl RefUnwindSafe for PtrData
impl Send for PtrData
impl Sync for PtrData
impl Unpin for PtrData
impl UnwindSafe for PtrData
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