Skip to main content

translate_full_def_kind

Function translate_full_def_kind 

Source
pub fn translate_full_def_kind<'tcx, S>(
    s: &S,
    this: &ItemRef<'tcx>,
    args: Option<GenericArgs<'tcx>>,
    param_env: ParamEnv<'tcx>,
) -> FullDefKind<'tcx>
where S: BaseState<'tcx>,
Expand description

Construct the FullDefKind for this item.

If args is Some, instantiate the whole definition with these generics; otherwise keep the polymorphic definition.