Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WasmEdge/WasmEdge
/ setOption
Method
setOption
include/ast/component/type.h:245–247 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
243
return *std::get_if<OptionTy>(&Type);
244
}
245
void setOption(OptionTy &&Ty) noexcept {
246
Type.emplace<OptionTy>(std::move(Ty));
247
}
248
249
const ResultTy &getResult() const noexcept {
250
return *std::get_if<ResultTy>(&Type);
Callers
1
loadType
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected