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

Method from

cranelift/codegen/meta/src/cdsl/types.rs:93–95  ·  view source on GitHub ↗
(lane: LaneType)

Source from the content-addressed store, hash-verified

91/// Create a ValueType from a given lane type.
92impl From<LaneType> for ValueType {
93 fn from(lane: LaneType) -> Self {
94 ValueType::Lane(lane)
95 }
96}
97
98/// Create a ValueType from a given vector type.

Callers

nothing calls this directly

Calls 2

FloatEnum · 0.85
IntEnum · 0.85

Tested by

no test coverage detected