(self, is_export: bool)
| 206 | } |
| 207 | |
| 208 | pub(crate) fn add_interface_fragment(self, is_export: bool) { |
| 209 | self.csharp_gen |
| 210 | .interface_fragments |
| 211 | .entry(self.name.to_string()) |
| 212 | .or_insert_with(|| InterfaceTypeAndFragments::new(is_export)) |
| 213 | .interface_fragments |
| 214 | .push(InterfaceFragment { |
| 215 | csharp_src: self.src, |
| 216 | csharp_interop_src: self.csharp_interop_src, |
| 217 | stub: self.stub, |
| 218 | direction: Some(self.direction), |
| 219 | }); |
| 220 | } |
| 221 | |
| 222 | pub(crate) fn add_futures_or_streams( |
| 223 | &mut self, |
no test coverage detected