pub enum Place<Tag = AllocId> where
Tag: Provenance, {
Ptr(MemPlace<Tag>),
Local {
frame: usize,
local: Local,
},
}Variants
Ptr(MemPlace<Tag>)
A place referring to a value allocated in the Memory system.
Local
To support alloc-free locals, we are able to write directly to a local.
(Without that optimization, we’d just always be a MemPlace.)
Auto Trait Implementations
impl<Tag> RefUnwindSafe for Place<Tag> where
Tag: RefUnwindSafe,
impl<Tag> Send for Place<Tag> where
Tag: Send,
impl<Tag> Sync for Place<Tag> where
Tag: Sync,
impl<Tag> Unpin for Place<Tag> where
Tag: Unpin,
impl<Tag> UnwindSafe for Place<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.