Enum rustc::middle::resolve_lifetime::DefRegionUnstable [-] [+] [src]

pub enum DefRegion {
    DefStaticRegion,
    DefEarlyBoundRegion(ParamSpace, u32, NodeId),
    DefLateBoundRegion(DebruijnIndex, NodeId),
    DefFreeRegion(DestructionScopeData, NodeId),
}

Variants

DefStaticRegion
DefEarlyBoundRegion
DefLateBoundRegion
DefFreeRegion

Trait Implementations

Derived Implementations

impl Debug for DefRegion

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

impl Decodable for DefRegion

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

impl Encodable for DefRegion

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

impl Hash for DefRegion

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

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

impl Eq for DefRegion

impl PartialEq for DefRegion

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

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

impl Copy for DefRegion

impl Clone for DefRegion

fn clone(&self) -> DefRegion

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