Enum rustc::middle::ty::DtorKindUnstable
[-] [+]
[src]
pub enum DtorKind { NoDtor, TraitDtor(DefId, bool), }
Variants
NoDtor | |
TraitDtor |
pub enum DtorKind { NoDtor, TraitDtor(DefId, bool), }
NoDtor | |
TraitDtor |
impl DtorKind
fn is_present(&self) -> bool
fn has_drop_flag(&self) -> bool
impl Clone for DtorKind
fn clone(&self) -> DtorKind
fn clone_from(&mut self, source: &Self)
impl Copy for DtorKind
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).