Expand description
Functionality for obtaining data related to traits from the DB.
Functionsยง
- as_
trait_ ๐assoc_ def - If this is an trait (impl) assoc item, returns the assoc item of the corresponding trait definition.
- assoc_
item_ ๐of_ trait - convert_
to_ ๐def_ in_ trait - Converts associated trait impl items to their trait definition counterpart
- get_
missing_ assoc_ items - Given the
implblock, returns the list of associated items (e.g. functions or types) that are missing in thisimplblock. - resolve_
target_ trait - Given the
implblock, attempts to find the trait thisimplcorresponds to.