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

Method from_repr

cranelift/codegen/src/ir/types.rs:416–418  ·  view source on GitHub ↗

Converts from a bit-level representation of the type back to a `Type`.

(bits: u16)

Source from the content-addressed store, hash-verified

414 /// Converts from a bit-level representation of the type back to a
415 /// `Type`.
416 pub(crate) fn from_repr(bits: u16) -> Type {
417 Type(bits)
418 }
419}
420
421impl Display for Type {

Callers

nothing calls this directly

Calls 1

TypeClass · 0.70

Tested by

no test coverage detected