Enum rustc_typeck::middle::ty::DtorKindUnstable [-] [+] [src]

pub enum DtorKind {
    NoDtor,
    TraitDtor(DefId, bool),
}

Variants

NoDtor
TraitDtor

Methods

impl DtorKind

fn is_present(&self) -> bool

fn has_drop_flag(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for DtorKind

fn clone(&self) -> DtorKind

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

impl Copy for DtorKind