[−][src]Trait chalk_rust_ir::ToParameter
Required methods
fn to_parameter_at_depth<I: Interner>(
&self,
interner: &I,
debruijn: DebruijnIndex
) -> Parameter<I>
&self,
interner: &I,
debruijn: DebruijnIndex
) -> Parameter<I>
Provided methods
fn to_parameter<I: Interner>(&self, interner: &I) -> Parameter<I>
Utility for converting a list of all the binders into scope
into references to those binders. Simply pair the binders with
the indices, and invoke to_parameter()
on the (binder, index)
pair. The result will be a reference to a bound
variable of appropriate kind at the corresponding index.
Implementations on Foreign Types
impl<'a> ToParameter for (&'a ParameterKind<()>, usize)
[src]
fn to_parameter_at_depth<I: Interner>(
&self,
interner: &I,
debruijn: DebruijnIndex
) -> Parameter<I>
[src]
&self,
interner: &I,
debruijn: DebruijnIndex
) -> Parameter<I>