Enum rustc::middle::subst::RegionSubsts[src]

pub enum RegionSubsts {
    ErasedRegions,
    NonerasedRegions(VecPerParamSpace<Region>),
}

Represents the values to use when substituting lifetime parameters. If the value is ErasedRegions, then this subst is occurring during trans, and all region parameters will be replaced with ty::ReStatic.

Variants

ErasedRegions
NonerasedRegions

Trait Implementations

impl Repr for RegionSubsts

fn repr(&self, tcx: &ctxt) -> String

Derived Implementations

impl<__S: Writer> Hash<__S> for RegionSubsts

fn hash(&self, __arg_0: &mut __S)

impl Eq for RegionSubsts

fn assert_receiver_is_total_eq(&self)

impl PartialEq for RegionSubsts

fn eq(&self, __arg_0: &RegionSubsts) -> bool

fn ne(&self, __arg_0: &RegionSubsts) -> bool

impl Clone for RegionSubsts

fn clone(&self) -> RegionSubsts

fn clone_from(&mut self, source: &Self)