Struct rustc_hir_typeck::method::confirm::MethodSubstsCtxt
source · struct MethodSubstsCtxt<'a, 'tcx> {
cfcx: &'a ConfirmContext<'a, 'tcx>,
pick: &'a Pick<'tcx>,
seg: &'a PathSegment<'a>,
}Fields§
§cfcx: &'a ConfirmContext<'a, 'tcx>§pick: &'a Pick<'tcx>§seg: &'a PathSegment<'a>Trait Implementations§
source§impl<'a, 'tcx> CreateSubstsForGenericArgsCtxt<'a, 'tcx> for MethodSubstsCtxt<'a, 'tcx>
impl<'a, 'tcx> CreateSubstsForGenericArgsCtxt<'a, 'tcx> for MethodSubstsCtxt<'a, 'tcx>
fn args_for_def_id(
&mut self,
def_id: DefId
) -> (Option<&'a GenericArgs<'a>>, bool)
fn provided_kind(
&mut self,
param: &GenericParamDef,
arg: &GenericArg<'_>
) -> GenericArg<'tcx>
fn inferred_kind(
&mut self,
_substs: Option<&[GenericArg<'tcx>]>,
param: &GenericParamDef,
_infer_args: bool
) -> GenericArg<'tcx>
Auto Trait Implementations§
impl<'a, 'tcx> !RefUnwindSafe for MethodSubstsCtxt<'a, 'tcx>
impl<'a, 'tcx> !Send for MethodSubstsCtxt<'a, 'tcx>
impl<'a, 'tcx> !Sync for MethodSubstsCtxt<'a, 'tcx>
impl<'a, 'tcx> Unpin for MethodSubstsCtxt<'a, 'tcx>where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for MethodSubstsCtxt<'a, 'tcx>
Blanket Implementations§
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: 24 bytes