Enum rustc::middle::ty::Representability[src]

pub enum Representability {
    Representable,
    SelfRecursive,
    ContainsRecursive,
}

Describes whether a type is representable. For types that are not representable, 'SelfRecursive' and 'ContainsRecursive' are used to distinguish between types that are recursive with themselves and types that contain a different recursive type. These cases can therefore be treated differently when reporting errors.

Variants

Representable
SelfRecursive
ContainsRecursive

Trait Implementations

Derived Implementations

impl PartialEq for Representability

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

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