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

Method is_none

cranelift/entity/src/packed_option.rs:52–54  ·  view source on GitHub ↗

Returns `true` if the packed option is a `None` value.

(&self)

Source from the content-addressed store, hash-verified

50
51 /// Returns `true` if the packed option is a `None` value.
52 pub fn is_none(&self) -> bool {
53 self.0.is_reserved_value()
54 }
55
56 /// Returns `true` if the packed option is a `Some` value.
57 pub fn is_some(&self) -> bool {

Callers 15

tokenMethod · 0.45
is_emptyMethod · 0.45
add_rule_constraintsFunction · 0.45
verify_rules_for_termFunction · 0.45
reloadMethod · 0.45
eofMethod · 0.45
runFunction · 0.45
mutateMethod · 0.45
define_function_bytesMethod · 0.45
define_dataMethod · 0.45

Calls 1

is_reserved_valueMethod · 0.45

Tested by

no test coverage detected