pub struct MemPlace<Tag = AllocId> where
Tag: Provenance, {
pub ptr: Pointer<Option<Tag>>,
pub meta: MemPlaceMeta<Tag>,
}Fields
ptr: Pointer<Option<Tag>>The pointer can be a pure integer, with the None tag.
meta: MemPlaceMeta<Tag>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<Tag> RefUnwindSafe for MemPlace<Tag> where
Tag: RefUnwindSafe,
impl<Tag> Send for MemPlace<Tag> where
Tag: Send,
impl<Tag> Sync for MemPlace<Tag> where
Tag: Sync,
impl<Tag> Unpin for MemPlace<Tag> where
Tag: Unpin,
impl<Tag> UnwindSafe for MemPlace<Tag> where
Tag: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
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.