Struct rustc_infer::traits::query::type_op::AscribeUserType [−][src]
pub struct AscribeUserType<'tcx> {
pub mir_ty: &'tcx TyS<'tcx>,
pub def_id: DefId,
pub user_substs: UserSubsts<'tcx>,
}Fields
mir_ty: &'tcx TyS<'tcx>def_id: DefIduser_substs: UserSubsts<'tcx>Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for AscribeUserType<'tcx>impl<'tcx> !Send for AscribeUserType<'tcx>impl<'tcx> !Sync for AscribeUserType<'tcx>impl<'tcx> Unpin for AscribeUserType<'tcx>impl<'tcx> !UnwindSafe for AscribeUserType<'tcx>Blanket Implementations
pub fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> TLayout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 40 bytes