MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / is_definable

Method is_definable

cranelift/module/src/module.rs:178–183  ·  view source on GitHub ↗

Test whether this linkage can have a definition.

(self)

Source from the content-addressed store, hash-verified

176
177 /// Test whether this linkage can have a definition.
178 pub fn is_definable(self) -> bool {
179 match self {
180 Self::Import => false,
181 Self::Local | Self::Preemptible | Self::Hidden | Self::Export => true,
182 }
183 }
184
185 /// Test whether this linkage must have a definition.
186 pub fn requires_definition(self) -> bool {

Callers 5

define_function_bytesMethod · 0.80
define_dataMethod · 0.80
define_dataMethod · 0.80
define_function_innerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected