pub trait HasKind<'db> {
// Required method
fn has_kind(&self, db: &'db dyn Db, kind: SymGenericKind) -> bool;
}Expand description
Test if self can be said to have the given kind (i.e., is it a type? a permission?).
Note that when errors occur, this may return true for multiple kinds.