Struct rustc_lint::middle::ty::FreeRegionUnstable [-] [+] [src]

pub struct FreeRegion {
    pub scope: DestructionScopeData,
    pub bound_region: BoundRegion,
}

A "free" region fr can be interpreted as "some region at least as big as the scope fr.scope".

Fields

scope
bound_region

Trait Implementations

impl tr for FreeRegion

fn tr(&self, dcx: &DecodeContext) -> FreeRegion

impl<'tcx> Repr<'tcx> for FreeRegion

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

Derived Implementations

impl Copy for FreeRegion

impl Debug for FreeRegion

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

impl Decodable for FreeRegion

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

impl Encodable for FreeRegion

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

impl Hash for FreeRegion

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl Ord for FreeRegion

fn cmp(&self, __arg_0: &FreeRegion) -> Ordering

impl Eq for FreeRegion

impl PartialOrd<FreeRegion> for FreeRegion

fn partial_cmp(&self, __arg_0: &FreeRegion) -> Option<Ordering>

fn lt(&self, __arg_0: &FreeRegion) -> bool

fn le(&self, __arg_0: &FreeRegion) -> bool

fn gt(&self, __arg_0: &FreeRegion) -> bool

fn ge(&self, __arg_0: &FreeRegion) -> bool

impl PartialEq<FreeRegion> for FreeRegion

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

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

impl Clone for FreeRegion

fn clone(&self) -> FreeRegion

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