MCPcopy Create free account
hub / github.com/argumentcomputer/ix / ty

Method ty

crates/kernel/src/lctx.rs:44–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

42
43impl<M: KernelMode> LocalDecl<M> {
44 pub fn ty(&self) -> &KExpr<M> {
45 match self {
46 LocalDecl::CDecl { ty, .. } | LocalDecl::LDecl { ty, .. } => ty,
47 }
48 }
49
50 pub fn name(&self) -> &M::MField<Name> {
51 match self {

Callers 9

try_struct_eta_iotaMethod · 0.45
synth_ctor_when_kMethod · 0.45
const_congruentFunction · 0.45
inferMethod · 0.45
infer_projMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected