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

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

Variants

DefStaticRegion
DefEarlyBoundRegion
DefLateBoundRegion
DefFreeRegion

Trait Implementations

Derived Implementations

impl Show for DefRegion

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

impl Decodable for DefRegion

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

impl Encodable for DefRegion

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

impl<__S: Writer + Hasher> Hash<__S> for DefRegion

fn hash(&self, __arg_0: &mut __S)

impl Eq for DefRegion

fn assert_receiver_is_total_eq(&self)

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)