Struct rustc::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<'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

impl Decodable for FreeRegion

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

impl Encodable for FreeRegion

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

impl Hash for FreeRegion

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

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for FreeRegion

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

impl Eq for FreeRegion

impl PartialOrd 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 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)