pub struct MemPlace<Prov = AllocId>where
Prov: Provenance,{
pub ptr: Pointer<Option<Prov>>,
pub meta: MemPlaceMeta<Prov>,
}
Fields
ptr: Pointer<Option<Prov>>
The pointer can be a pure integer, with the None
provenance.
meta: MemPlaceMeta<Prov>
Metadata for unsized places. Interpretation is up to the type.
Must not be present for sized types, but can be missing for unsized types
(e.g., extern type
).
Auto Trait Implementations
impl<Prov> RefUnwindSafe for MemPlace<Prov>where
Prov: RefUnwindSafe,
impl<Prov> Send for MemPlace<Prov>where
Prov: Send,
impl<Prov> Sync for MemPlace<Prov>where
Prov: Sync,
impl<Prov> Unpin for MemPlace<Prov>where
Prov: Unpin,
impl<Prov> UnwindSafe for MemPlace<Prov>where
Prov: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.