Trait FromWithTcx
Other items inrustdoc::json::conversions
pub(crate) trait FromWithTcx<T> { fn from_tcx(f: T, tcx: TyCtxt<'_>) -> Self; }
fn from_tcx(f: T, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<GenericArgs> for GenericArgs
fn from_tcx(args: GenericArgs, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<GenericArg> for GenericArg
fn from_tcx(arg: GenericArg, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Constant> for Constant
fn from_tcx(constant: Constant, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<TypeBinding> for TypeBinding
fn from_tcx(binding: TypeBinding, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<TypeBindingKind> for TypeBindingKind
fn from_tcx(kind: TypeBindingKind, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Struct> for Struct
fn from_tcx(struct_: Struct, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Union> for Union
fn from_tcx(struct_: Union, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Function> for Function
fn from_tcx(function: Function, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Generics> for Generics
fn from_tcx(generics: Generics, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<GenericParamDef> for GenericParamDef
fn from_tcx(generic_param: GenericParamDef, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<GenericParamDefKind> for GenericParamDefKind
fn from_tcx(kind: GenericParamDefKind, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<WherePredicate> for WherePredicate
fn from_tcx(predicate: WherePredicate, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<GenericBound> for GenericBound
fn from_tcx(bound: GenericBound, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Type> for Type
fn from_tcx(ty: Type, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<BareFunctionDecl> for FunctionPointer
fn from_tcx(bare_decl: BareFunctionDecl, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<FnDecl> for FnDecl
fn from_tcx(decl: FnDecl, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Trait> for Trait
fn from_tcx(trait_: Trait, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Impl> for Impl
fn from_tcx(impl_: Impl, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Enum> for Enum
fn from_tcx(enum_: Enum, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<VariantStruct> for Struct
fn from_tcx(struct_: VariantStruct, _tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Variant> for Variant
fn from_tcx(variant: Variant, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Import> for Import
fn from_tcx(import: Import, _tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<ProcMacro> for ProcMacro
fn from_tcx(mac: ProcMacro, _tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Typedef> for Typedef
fn from_tcx(typedef: Typedef, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<OpaqueTy> for OpaqueTy
fn from_tcx(opaque: OpaqueTy, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<Static> for Static
fn from_tcx(stat: Static, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<TraitAlias> for TraitAlias
fn from_tcx(alias: TraitAlias, tcx: TyCtxt<'_>) -> Self
impl FromWithTcx<ItemType> for ItemKind
fn from_tcx(kind: ItemType, _tcx: TyCtxt<'_>) -> Self