Struct rustc_mir::interpret::ValTy
[−]
[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
value: Value
🔬 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?
ty: Ty<'tcx>
🔬 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> ValTy<'tcx>
[src]
impl<'tcx> ValTy<'tcx>
pub fn from(val: &Const<'tcx>) -> Option<Self>
[src]
pub fn from(val: &Const<'tcx>) -> Option<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<'tcx> Copy for ValTy<'tcx>
[src]
impl<'tcx> Copy for ValTy<'tcx>
impl<'tcx> Clone for ValTy<'tcx>
[src]
impl<'tcx> Clone for ValTy<'tcx>
fn clone(&self) -> ValTy<'tcx>
[src]
fn clone(&self) -> ValTy<'tcx>
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'tcx> Debug for ValTy<'tcx>
[src]
impl<'tcx> Debug for ValTy<'tcx>
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'tcx> Deref for ValTy<'tcx>
[src]
impl<'tcx> Deref for ValTy<'tcx>