[−][src]Enum rustc_mir::interpret::Place

pub enum Place<Tag = ()> {
    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.)

Fields of Local

frame: usizelocal: Local

Implementations

impl<Tag: Debug> Place<Tag>[src]

pub fn assert_mem_place(self) -> MemPlace<Tag>[src]

Trait Implementations

impl<Tag: Clone> Clone for Place<Tag>[src]

impl<Tag: Copy> Copy for Place<Tag>[src]

impl<Tag: Debug> Debug for Place<Tag>[src]

impl<Tag: Eq> Eq for Place<Tag>[src]

impl<Tag: Hash> Hash for Place<Tag>[src]

impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Place<Tag> where
    Tag: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<Tag: PartialEq> PartialEq<Place<Tag>> 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, 

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

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]