Struct rustc_save_analysis::ty::TypeAndMut [−][src]
pub struct TypeAndMut<'tcx> {
pub ty: &'tcx TyS<'tcx>,
pub mutbl: Mutability,
}Fields
ty: &'tcx TyS<'tcx>mutbl: MutabilityAuto Trait Implementations
impl<'tcx> !RefUnwindSafe for TypeAndMut<'tcx>
impl<'tcx> !Send for TypeAndMut<'tcx>
impl<'tcx> !Sync for TypeAndMut<'tcx>
impl<'tcx> Unpin for TypeAndMut<'tcx>
impl<'tcx> !UnwindSafe for TypeAndMut<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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