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

Method obj

crates/test/src/lib.rs:1301–1312  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1299 ];
1300
1301 fn obj(&self) -> &dyn LanguageMethods {
1302 match self {
1303 Language::Rust => &rust::Rust,
1304 Language::C => &c::C,
1305 Language::Cpp => &cpp::Cpp,
1306 Language::Wat => &wat::Wat,
1307 Language::Csharp => &csharp::Csharp,
1308 Language::MoonBit => &moonbit::MoonBit,
1309 Language::Go => &go::Go,
1310 Language::Custom(custom) => custom,
1311 }
1312 }
1313}
1314
1315impl fmt::Display for Language {

Callers 8

parse_componentMethod · 0.80
prepare_languagesMethod · 0.80
run_codegen_testsMethod · 0.80
codegen_testMethod · 0.80
compile_componentMethod · 0.80
include_languageMethod · 0.80
fmtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected