Returns true if the interface or type should be defined with this bindgen invocation
(&self)
| 88 | impl TypeGeneration { |
| 89 | /// Returns true if the interface or type should be defined with this bindgen invocation |
| 90 | fn generated(&self) -> bool { |
| 91 | match self { |
| 92 | TypeGeneration::Generate => true, |
| 93 | TypeGeneration::Remap(_) => false, |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | #[derive(PartialEq, Eq, Clone, Copy, Hash, Debug)] |
no outgoing calls
no test coverage detected