Struct rustc::mir::interpret::MemoryPointer [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
alloc_id: AllocId
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
offset: u64
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl<'tcx> MemoryPointer
[src]
impl<'tcx> MemoryPointer
pub fn new(alloc_id: AllocId, offset: u64) -> Self
[src]
pub fn new(alloc_id: AllocId, offset: u64) -> Self
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn wrapping_signed_offset<C: HasDataLayout>(self, i: i64, cx: C) -> Self
[src]
fn wrapping_signed_offset<C: HasDataLayout>(self, i: i64, cx: C) -> Self
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn overflowing_signed_offset<C: HasDataLayout>(
self,
i: i128,
cx: C
) -> (Self, bool)
[src]
pub fn overflowing_signed_offset<C: HasDataLayout>(
self,
i: i128,
cx: C
) -> (Self, bool)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn signed_offset<C: HasDataLayout>(
self,
i: i64,
cx: C
) -> EvalResult<'tcx, Self>
[src]
fn signed_offset<C: HasDataLayout>(
self,
i: i64,
cx: C
) -> EvalResult<'tcx, Self>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn overflowing_offset<C: HasDataLayout>(self, i: u64, cx: C) -> (Self, bool)
[src]
pub fn overflowing_offset<C: HasDataLayout>(self, i: u64, cx: C) -> (Self, bool)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn offset<C: HasDataLayout>(self, i: u64, cx: C) -> EvalResult<'tcx, Self>
[src]
pub fn offset<C: HasDataLayout>(self, i: u64, cx: C) -> EvalResult<'tcx, Self>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for MemoryPointer
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for MemoryPointer
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl From<MemoryPointer> for Pointer
[src]
impl From<MemoryPointer> for Pointer
fn from(ptr: MemoryPointer) -> Self
[src]
fn from(ptr: MemoryPointer) -> Self
Performs the conversion.
impl Copy for MemoryPointer
[src]
impl Copy for MemoryPointer
impl Clone for MemoryPointer
[src]
impl Clone for MemoryPointer
fn clone(&self) -> MemoryPointer
[src]
fn clone(&self) -> MemoryPointer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for MemoryPointer
[src]
impl Debug for MemoryPointer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for MemoryPointer
[src]
impl Eq for MemoryPointer
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl PartialEq for MemoryPointer
[src]
impl PartialEq for MemoryPointer
fn eq(&self, other: &MemoryPointer) -> bool
[src]
fn eq(&self, other: &MemoryPointer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MemoryPointer) -> bool
[src]
fn ne(&self, other: &MemoryPointer) -> bool
This method tests for !=
.
impl Encodable for MemoryPointer
[src]
impl Encodable for MemoryPointer
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for MemoryPointer
[src]
impl Decodable for MemoryPointer
fn decode<__D: Decoder>(d: &mut __D) -> Result<MemoryPointer, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<MemoryPointer, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Hash for MemoryPointer
[src]
impl Hash for MemoryPointer
Auto Trait Implementations
impl Send for MemoryPointer
impl Send for MemoryPointer
impl Sync for MemoryPointer
impl Sync for MemoryPointer