[−][src]Type Definition rustc::ty::PolyFnSig
type PolyFnSig<'tcx> = Binder<FnSig<'tcx>>;
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl<'tcx> PolyFnSig<'tcx>
[src]
impl<'tcx> PolyFnSig<'tcx>
pub fn inputs(&self) -> Binder<&'tcx [Ty<'tcx>]>
[src]
pub fn inputs(&self) -> Binder<&'tcx [Ty<'tcx>]>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn input(&self, index: usize) -> Binder<Ty<'tcx>>
[src]
pub fn input(&self, index: usize) -> Binder<Ty<'tcx>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn inputs_and_output(&self) -> Binder<&'tcx List<Ty<'tcx>>>
[src]
pub fn inputs_and_output(&self) -> Binder<&'tcx List<Ty<'tcx>>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn output(&self) -> Binder<Ty<'tcx>>
[src]
pub fn output(&self) -> Binder<Ty<'tcx>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn variadic(&self) -> bool
[src]
pub fn variadic(&self) -> bool
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn unsafety(&self) -> Unsafety
[src]
pub fn unsafety(&self) -> Unsafety
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn abi(&self) -> Abi
[src]
pub fn abi(&self) -> Abi
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<'gcx, 'tcx> Normalizable<'gcx, 'tcx> for PolyFnSig<'tcx> where
'gcx: 'tcx,
[src]
impl<'gcx, 'tcx> Normalizable<'gcx, 'tcx> for PolyFnSig<'tcx> where
'gcx: 'tcx,
fn type_op_method(
tcx: TyCtxt<'_, 'gcx, 'tcx>,
canonicalized: Canonicalized<'gcx, ParamEnvAnd<'tcx, Normalize<Self>>>
) -> Fallible<CanonicalizedQueryResult<'gcx, Self>>
[src]
fn type_op_method(
tcx: TyCtxt<'_, 'gcx, 'tcx>,
canonicalized: Canonicalized<'gcx, ParamEnvAnd<'tcx, Normalize<Self>>>
) -> Fallible<CanonicalizedQueryResult<'gcx, Self>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn shrink_to_tcx_lifetime<'a>(
v: &'a CanonicalizedQueryResult<'gcx, Self>
) -> &'a Canonical<'tcx, QueryResult<'tcx, Self>>
[src]
fn shrink_to_tcx_lifetime<'a>(
v: &'a CanonicalizedQueryResult<'gcx, Self>
) -> &'a Canonical<'tcx, QueryResult<'tcx, Self>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Convert from the 'gcx
(lifted) form of Self
into the tcx
form of Self
. Read more