Struct rustc_typeck::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>(&self, folder: &mut F) -> RegionParameterDef where F: TypeFolder<'tcx>

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<(), Error>

impl Clone for RegionParameterDef

fn clone(&self) -> RegionParameterDef

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

impl Decodable for RegionParameterDef

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

impl Encodable for RegionParameterDef

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