Module rustc_ty_utils::assoc
source · [−]Functions
If the given DefId describes an item belonging to a trait,
returns the DefId of the trait that the trait item belongs to;
otherwise, returns None.
If the given DefId describes an item belonging to a trait,
returns the DefId of the trait that the trait item belongs to;
otherwise, returns None.