Enum rustc_mir::interpret::place::Place [−][src]
Variants
Ptr(MemPlace<Tag>)Expand description
A place referring to a value allocated in the Memory system.
Expand description
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
impl<Tag: Debug> Place<Tag>[src]
impl<Tag: Debug> Place<Tag>[src]pub fn assert_mem_place(self) -> MemPlace<Tag>[src]
Trait Implementations
impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Place<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>, [src]
impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Place<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>, [src]fn hash_stable(
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)[src]
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)
impl<Tag: Copy> Copy for Place<Tag>[src]
impl<Tag: Eq> Eq for Place<Tag>[src]
impl<Tag> StructuralEq for Place<Tag>[src]
impl<Tag> StructuralPartialEq for Place<Tag>[src]
Auto Trait Implementations
impl<Tag> RefUnwindSafe for Place<Tag> where
Tag: RefUnwindSafe,
Tag: RefUnwindSafe,
impl<Tag> Send for Place<Tag> where
Tag: Send,
Tag: Send,
impl<Tag> Sync for Place<Tag> where
Tag: Sync,
Tag: Sync,
impl<Tag> Unpin for Place<Tag> where
Tag: Unpin,
Tag: Unpin,
impl<Tag> UnwindSafe for Place<Tag> where
Tag: UnwindSafe,
Tag: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]