Struct rustc::ty::RegionParameterDef  
                   
                       [−]
                   
               [src]
pub struct RegionParameterDef {
    pub name: Name,
    pub def_id: DefId,
    pub space: ParamSpace,
    pub index: u32,
    pub bounds: Vec<Region>,
}Unstable (
rustc_private)Fields
name: Name
                           Unstable (
rustc_private)def_id: DefId
                           Unstable (
rustc_private)space: ParamSpace
                           Unstable (
rustc_private)index: u32
                           Unstable (
rustc_private)bounds: Vec<Region>
                           Unstable (
rustc_private)Methods
impl RegionParameterDef[src]
fn to_early_bound_region(&self) -> Region
fn to_bound_region(&self) -> BoundRegion
Trait Implementations
impl<'tcx> TypeFoldable<'tcx> for RegionParameterDef[src]
fn super_fold_with<'gcx: 'tcx, F: TypeFolder<'gcx, 'tcx>>(&self, folder: &mut F) -> Self
fn super_visit_with<V: TypeVisitor<'tcx>>(&self, visitor: &mut V) -> bool
fn fold_with<'gcx: 'tcx, F: TypeFolder<'gcx, 'tcx>>(&self, folder: &mut F) -> Self
fn visit_with<V: TypeVisitor<'tcx>>(&self, visitor: &mut V) -> bool
fn has_regions_escaping_depth(&self, depth: u32) -> bool
fn has_escaping_regions(&self) -> bool
fn has_type_flags(&self, flags: TypeFlags) -> bool
fn has_projection_types(&self) -> bool
fn references_error(&self) -> bool
fn has_param_types(&self) -> bool
fn has_self_ty(&self) -> bool
fn has_infer_types(&self) -> bool
fn needs_infer(&self) -> bool
fn needs_subst(&self) -> bool
fn has_closure_types(&self) -> bool
fn has_erasable_regions(&self) -> bool
fn is_global(&self) -> bool
Indicates whether this value references only 'global' types/lifetimes that are the same regardless of what fn we are in. This is used for caching. Errs on the side of returning false. Read more
impl Debug for RegionParameterDef[src]
Derived Implementations
impl Clone for RegionParameterDef[src]
fn clone(&self) -> RegionParameterDef
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