You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method could look similar to Clippy's implements_trait util.
Once #93 is resolved, we should have access to the TyDefId of traits. Semantic paths are also almost done (#139). This function will require an option to have the user specify generic arguments for the trait.
In short: This will be fun or at least complex, but the base for this should be set with the two linked issued.
The text was updated successfully, but these errors were encountered:
xFrednet
changed the title
API: Add a method to check if a specific type implements a trait
API: Add a method to check if a semantic type implements a trait
Jun 16, 2023
This method could look similar to Clippy's
implements_trait
util.Once #93 is resolved, we should have access to the
TyDefId
of traits. Semantic paths are also almost done (#139). This function will require an option to have the user specify generic arguments for the trait.In short: This will be fun or at least complex, but the base for this should be set with the two linked issued.
The text was updated successfully, but these errors were encountered: