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

Method generated

crates/rust/src/lib.rs:90–95  ·  view source on GitHub ↗

Returns true if the interface or type should be defined with this bindgen invocation

(&self)

Source from the content-addressed store, hash-verified

88impl 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)]

Callers 2

import_interfaceMethod · 0.80
import_typesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected