Enum rustc::infer::region_inference::GenericKind
[−]
[src]
pub enum GenericKind<'tcx> {
Param(ParamTy),
Projection(ProjectionTy<'tcx>),
}🔬 This is a nightly-only experimental API. (
rustc_private)Variants
Param(ParamTy)🔬 This is a nightly-only experimental API. (
rustc_private)Projection(ProjectionTy<'tcx>)🔬 This is a nightly-only experimental API. (
rustc_private)Methods
impl<'a, 'gcx, 'tcx> GenericKind<'tcx>[src]
fn to_ty(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Ty<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private)Trait Implementations
impl<'tcx> Copy for GenericKind<'tcx>[src]
impl<'tcx> Clone for GenericKind<'tcx>[src]
fn clone(&self) -> GenericKind<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'tcx> PartialEq for GenericKind<'tcx>[src]
fn eq(&self, __arg_0: &GenericKind<'tcx>) -> bool
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
This method tests for !=.