Struct rustc::mir::interpret::PtrAndAlign
[−]
[src]
pub struct PtrAndAlign { pub ptr: Pointer, pub aligned: 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?
Fields
ptr: Pointer
🔬 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?
aligned: 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?
Remember whether this place is supposed to be aligned.
Methods
impl PtrAndAlign
[src]
pub fn to_ptr<'tcx>(self) -> EvalResult<'tcx, 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?
pub fn offset<'tcx, C: HasDataLayout>(
self,
i: u64,
cx: C
) -> EvalResult<'tcx, Self>
[src]
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 Copy for PtrAndAlign
[src]
impl Clone for PtrAndAlign
[src]
fn clone(&self) -> PtrAndAlign
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more