Struct rustc::mir::repr::TypedConstVal
[−]
[src]
pub struct TypedConstVal<'tcx> { pub ty: Ty<'tcx>, pub span: Span, pub value: ConstUsize, }
Unstable (
rustc_private
)Fields
ty: Ty<'tcx>
Unstable (
rustc_private
)span: Span
Unstable (
rustc_private
)value: ConstUsize
Unstable (
rustc_private
)Trait Implementations
impl<'tcx> Debug for TypedConstVal<'tcx>
[src]
Derived Implementations
impl<'tcx> Decodable for TypedConstVal<'tcx>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TypedConstVal<'tcx>, __D::Error>
impl<'tcx> Encodable for TypedConstVal<'tcx>
[src]
impl<'tcx> Clone for TypedConstVal<'tcx>
[src]
fn clone(&self) -> TypedConstVal<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more