Enum rustc_const_eval::interpret::place::Place [−][src]
pub enum Place<Tag: Provenance = AllocId> {
Ptr(MemPlace<Tag>),
Local {
frame: usize,
local: Local,
},
}
Variants
Ptr(MemPlace<Tag>)
A place referring to a value allocated in the Memory
system.
Tuple Fields of Ptr
0: MemPlace<Tag>
To support alloc-free locals, we are able to write directly to a local.
(Without that optimization, we’d just always be a MemPlace
.)
Implementations
Trait Implementations
impl<'__ctx, Tag: Provenance> HashStable<StableHashingContext<'__ctx>> for Place<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>,
impl<'__ctx, Tag: Provenance> HashStable<StableHashingContext<'__ctx>> for Place<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>,
Auto Trait Implementations
impl<Tag> RefUnwindSafe for Place<Tag> where
Tag: RefUnwindSafe,
impl<Tag> UnwindSafe for Place<Tag> where
Tag: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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.