[−][src]Struct rustc_mir::interpret::Pointer

pub struct Pointer<Tag = ()> {
    pub alloc_id: AllocId,
    pub offset: Size,
    pub tag: Tag,
}

Represents a pointer in the Miri engine.

Pointer is generic over the Tag associated with each pointer, which is used to do provenance tracking during execution.

Fields

alloc_id: AllocIdoffset: Sizetag: Tag

Trait Implementations

impl<Tag> From<Pointer<Tag>> for Immediate<Tag>[src]

Auto Trait Implementations

impl<Tag> RefUnwindSafe for Pointer<Tag> where
    Tag: RefUnwindSafe, 

impl<Tag> Send for Pointer<Tag> where
    Tag: Send, 

impl<Tag> Sync for Pointer<Tag> where
    Tag: Sync, 

impl<Tag> Unpin for Pointer<Tag> where
    Tag: Unpin, 

impl<Tag> UnwindSafe for Pointer<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> ToString for T where
    T: Display + ?Sized, 
[src]

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]