☰
FromWithTcx
Required Methods
from_tcx
Implementations on Foreign Types
Constant
Enum
FnDecl
Function
FunctionPointer
GenericArg
GenericArgs
GenericBound
GenericParamDef
GenericParamDefKind
Generics
Impl
Import
ItemKind
OpaqueTy
ProcMacro
Static
Struct
Struct
Term
Trait
TraitAlias
Type
TypeBinding
TypeBindingKind
Typedef
Union
Variant
WherePredicate
Implementors
In
rustdoc
::
json
::
conversions
?
Trait
rustdoc
::
json
::
conversions
::
FromWithTcx
source
·
[
−
]
pub(crate) trait FromWithTcx<T> { fn
from_tcx
(f: T, tcx:
TyCtxt
<'_>) -> Self; }
Required methods
source
fn
from_tcx
(f: T, tcx:
TyCtxt
<'_>) -> Self
Implementations on Foreign Types
source
impl
FromWithTcx
<
GenericArgs
> for
GenericArgs
source
fn
from_tcx
(args:
GenericArgs
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
GenericArg
> for
GenericArg
source
fn
from_tcx
(arg:
GenericArg
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Constant
> for
Constant
source
fn
from_tcx
(constant:
Constant
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
TypeBinding
> for
TypeBinding
source
fn
from_tcx
(binding:
TypeBinding
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
TypeBindingKind
> for
TypeBindingKind
source
fn
from_tcx
(kind:
TypeBindingKind
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Struct
> for
Struct
source
fn
from_tcx
(struct_:
Struct
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Union
> for
Union
source
fn
from_tcx
(struct_:
Union
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Function
> for
Function
source
fn
from_tcx
(function:
Function
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Generics
> for
Generics
source
fn
from_tcx
(generics:
Generics
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
GenericParamDef
> for
GenericParamDef
source
fn
from_tcx
(generic_param:
GenericParamDef
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
GenericParamDefKind
> for
GenericParamDefKind
source
fn
from_tcx
(kind:
GenericParamDefKind
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
WherePredicate
> for
WherePredicate
source
fn
from_tcx
(predicate:
WherePredicate
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
GenericBound
> for
GenericBound
source
fn
from_tcx
(bound:
GenericBound
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Type
> for
Type
source
fn
from_tcx
(ty:
Type
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Term
> for
Term
source
fn
from_tcx
(term:
Term
, tcx:
TyCtxt
<'_>) ->
Term
source
impl
FromWithTcx
<
BareFunctionDecl
> for
FunctionPointer
source
fn
from_tcx
(bare_decl:
BareFunctionDecl
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
FnDecl
> for
FnDecl
source
fn
from_tcx
(decl:
FnDecl
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Trait
> for
Trait
source
fn
from_tcx
(trait_:
Trait
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Impl
> for
Impl
source
fn
from_tcx
(impl_:
Impl
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Enum
> for
Enum
source
fn
from_tcx
(enum_:
Enum
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
VariantStruct
> for
Struct
source
fn
from_tcx
(struct_:
VariantStruct
, _tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Variant
> for
Variant
source
fn
from_tcx
(variant:
Variant
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Import
> for
Import
source
fn
from_tcx
(import:
Import
, _tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
ProcMacro
> for
ProcMacro
source
fn
from_tcx
(mac:
ProcMacro
, _tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Typedef
> for
Typedef
source
fn
from_tcx
(typedef:
Typedef
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
OpaqueTy
> for
OpaqueTy
source
fn
from_tcx
(opaque:
OpaqueTy
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
Static
> for
Static
source
fn
from_tcx
(stat:
Static
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
TraitAlias
> for
TraitAlias
source
fn
from_tcx
(alias:
TraitAlias
, tcx:
TyCtxt
<'_>) -> Self
source
impl
FromWithTcx
<
ItemType
> for
ItemKind
source
fn
from_tcx
(kind:
ItemType
, _tcx:
TyCtxt
<'_>) -> Self
Implementors