Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dtolnay/thiserror
/ intersects
Method
intersects
impl/src/generics.rs:19–23 ·
view source on GitHub ↗
(&self, ty: &Type)
Source
from the content-addressed store, hash-verified
17
}
18
19
pub fn intersects(&self, ty: &Type) -> bool {
20
let mut found = false;
21
crawl(self, ty, &mut found);
22
found
23
}
24
}
25
26
fn crawl(in_scope: &ParamsInScope, ty: &Type, found: &mut bool) {
Callers
1
from_syn
Method · 0.80
Calls
1
crawl
Function · 0.85
Tested by
no test coverage detected