Struct rustc_const_eval::interpret::Pointer
source · [−]Expand description
Represents a pointer in the Miri engine.
Pointers are “tagged” with provenance information; typically the AllocId they belong to.
Fields
offset: Sizeprovenance: TagAuto 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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.