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