pub(crate) trait Def: Debug + Hash + Eq + PartialEq + Copy + Clone {
    // Required method
    fn has_safety_invariants(&self) -> bool;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Def for !

Implementors§

source§

impl<'tcx> Def for Def<'tcx>