Struct rustc::middle::ty::RegionParameterDefUnstable [-] [+] [src]

pub struct RegionParameterDef {
    pub name: Name,
    pub def_id: DefId,
    pub space: ParamSpace,
    pub index: u32,
    pub bounds: Vec<Region>,
}

Fields

name
def_id
space
index
bounds

Methods

impl RegionParameterDef

fn to_early_bound_region(&self) -> Region

fn to_bound_region(&self) -> BoundRegion

Trait Implementations

impl<'tcx> TypeFoldable<'tcx> for RegionParameterDef

fn fold_with<F: TypeFolder<'tcx>>(&self, folder: &mut F) -> RegionParameterDef

impl<'tcx> Repr<'tcx> for RegionParameterDef

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

Derived Implementations

impl Debug for RegionParameterDef

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for RegionParameterDef

fn clone(&self) -> RegionParameterDef

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

impl Decodable for RegionParameterDef

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<RegionParameterDef, __D>

impl Encodable for RegionParameterDef

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S>