Enum rustc::infer::region_constraints::GenericKind
[−]
[src]
pub enum GenericKind<'tcx> {
Param(ParamTy),
Projection(ProjectionTy<'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?
Variants
Param(ParamTy)🔬 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?
Projection(ProjectionTy<'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<'a, 'gcx, 'tcx> GenericKind<'tcx>[src]
pub fn to_ty(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Ty<'tcx>[src]
🔬 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<'tcx> Copy for GenericKind<'tcx>[src]
impl<'tcx> Clone for GenericKind<'tcx>[src]
fn clone(&self) -> GenericKind<'tcx>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'tcx> PartialEq for GenericKind<'tcx>[src]
fn eq(&self, __arg_0: &GenericKind<'tcx>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GenericKind<'tcx>) -> bool[src]
This method tests for !=.
impl<'tcx> Eq for GenericKind<'tcx>[src]
impl<'tcx> Debug for GenericKind<'tcx>[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more