Type Alias rustc_middle::ty::sty::TypeAndMut
source · pub type TypeAndMut<'tcx> = TypeAndMut<TyCtxt<'tcx>>;
Aliased Type§
struct TypeAndMut<'tcx> {
pub ty: Ty<'tcx>,
pub mutbl: Mutability,
}
Fields§
§ty: Ty<'tcx>
§mutbl: Mutability
Trait Implementations§
source§impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TypeAndMut<'tcx>
impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TypeAndMut<'tcx>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes