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

Method type_var

cranelift/codegen/meta/src/cdsl/operands.rs:56–61  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

54 }
55
56 pub fn type_var(&self) -> Option<&TypeVar> {
57 match &self.kind.fields {
58 OperandKindFields::TypeVar(typevar) => Some(typevar),
59 _ => None,
60 }
61 }
62
63 pub fn is_varargs(&self) -> bool {
64 matches!(self.kind.fields, OperandKindFields::VariableArgs)

Callers 4

get_constraintFunction · 0.80
gen_type_constraintsFunction · 0.80
verify_polymorphicFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected