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

Method width

cranelift/codegen/meta/src/cdsl/types.rs:76–78  ·  view source on GitHub ↗

Return the total number of bits of an instance of this type.

(&self)

Source from the content-addressed store, hash-verified

74
75 /// Return the total number of bits of an instance of this type.
76 pub fn width(&self) -> u64 {
77 self.lane_count() * self.lane_bits()
78 }
79}
80
81impl fmt::Display for ValueType {

Callers 1

membytesMethod · 0.45

Calls 2

lane_countMethod · 0.45
lane_bitsMethod · 0.45

Tested by

no test coverage detected