Struct rustc_middle::mir::interpret::pointer::Pointer [−][src]
Expand description
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: TagImplementations
Trait Implementations
Produces a Pointer that points to the beginning of the Allocation.
impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Pointer<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>,
impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Pointer<Tag> where
Tag: HashStable<StableHashingContext<'__ctx>>, This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<Tag> RefUnwindSafe for Pointer<Tag> where
Tag: RefUnwindSafe, impl<Tag> UnwindSafe for Pointer<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.