MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / is_exported_resource

Method is_exported_resource

crates/rust/src/interface.rs:2527–2530  ·  view source on GitHub ↗
(&self, ty: TypeId)

Source from the content-addressed store, hash-verified

2525 }
2526
2527 pub fn is_exported_resource(&self, ty: TypeId) -> bool {
2528 let ty = dealias(self.resolve, ty);
2529 self.r#gen.exported_resources.contains(&ty)
2530 }
2531
2532 fn push_string_name(&mut self) {
2533 let path = self.path_to_string();

Callers 3

print_typedef_aliasMethod · 0.80
anonymous_type_handleMethod · 0.80
emitMethod · 0.80

Calls 1

dealiasFunction · 0.50

Tested by

no test coverage detected