pub struct PtrData<T: PointeeSized> {
pub addr: usize,
pub provenance: Provenance,
pub metadata: Metadata<T>,
}Expand description
Model of a pointer *mut T or *const T in Rust’s abstract machine.
In addition to the address, each pointer has its corresponding provenance and metadata.
Fields§
§addr: usize§provenance: Provenance§metadata: Metadata<T>Auto Trait Implementations§
impl<T> Freeze for PtrData<T>where
T: ?Sized,
impl<T> RefUnwindSafe for PtrData<T>
impl<T> Send for PtrData<T>where
T: ?Sized,
impl<T> Sync for PtrData<T>where
T: ?Sized,
impl<T> Unpin for PtrData<T>where
T: ?Sized,
impl<T> UnwindSafe for PtrData<T>
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
Source§impl<T, U> IntoSpecImpl<U> for Twhere
U: From<T>,
impl<T, U> IntoSpecImpl<U> for Twhere
U: From<T>,
Source§impl<T, VERUS_SPEC__A> TryFromSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: TryFrom<T>,
impl<T, VERUS_SPEC__A> TryFromSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: TryFrom<T>,
Source§exec fn obeys_try_from_spec() -> bool
exec fn obeys_try_from_spec() -> bool
Source§impl<T, VERUS_SPEC__A> TryIntoSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: TryInto<T>,
impl<T, VERUS_SPEC__A> TryIntoSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: TryInto<T>,
Source§exec fn obeys_try_into_spec() -> bool
exec fn obeys_try_into_spec() -> bool
Source§impl<T, U> TryIntoSpecImpl<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryIntoSpecImpl<U> for Twhere
U: TryFrom<T>,
Source§open spec fn obeys_try_into_spec() -> bool
open spec fn obeys_try_into_spec() -> bool
{ <U as TryFromSpec<Self>>::obeys_try_from_spec() }