Enum rustc_trans::trans::closure::ClosureKindExperimental [-]  [+] [src]

pub enum ClosureKind<'tcx> {
    NotClosure,
    BoxedClosure(Ty<'tcx>, TraitStore),
    UnboxedClosure(CaptureClause),
}

Variants

NotClosure
BoxedClosure
UnboxedClosure

Trait Implementations

Derived Implementations

impl<'tcx> PartialEq for ClosureKind<'tcx>

fn eq(&self, __arg_0: &ClosureKind<'tcx>) -> bool

fn ne(&self, __arg_0: &ClosureKind<'tcx>) -> bool