Enum rustc_lint::middle::ty::DtorKindUnstable
[-] [+]
[src]
pub enum DtorKind {
NoDtor,
TraitDtor(DefId, bool),
}Variants
NoDtor | |
TraitDtor |
pub enum DtorKind {
NoDtor,
TraitDtor(DefId, bool),
}NoDtor | |
TraitDtor |
impl DtorKindfn is_present(&self) -> boolfn has_drop_flag(&self) -> boolimpl Clone for DtorKindfn clone(&self) -> DtorKindfn 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).