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

Method bindgen_name

crates/test/src/lib.rs:1274–1276  ·  view source on GitHub ↗

Returns the name of this bindings generator when passed to `wit-bindgen`. By default this is `Some(self.display())`, but it can be overridden if necessary. Returning `None` here means that no bindings generator is supported.

(&self)

Source from the content-addressed store, hash-verified

1272 /// necessary. Returning `None` here means that no bindings generator is
1273 /// supported.
1274 fn bindgen_name(&self) -> Option<&str> {
1275 Some(self.display())
1276 }
1277
1278 /// Performs compilation as specified by `compile`.
1279 fn compile(&self, runner: &Runner, compile: &Compile) -> Result<()>;

Callers 1

generate_bindingsMethod · 0.45

Implementers 8

rust.rscrates/test/src/rust.rs
moonbit.rscrates/test/src/moonbit.rs
c.rscrates/test/src/c.rs
cpp.rscrates/test/src/cpp.rs
go.rscrates/test/src/go.rs
wat.rscrates/test/src/wat.rs
csharp.rscrates/test/src/csharp.rs
custom.rscrates/test/src/custom.rs

Calls 1

displayMethod · 0.45

Tested by

no test coverage detected