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

Method from_str

cranelift/codegen/src/ir/immediates.rs:188–190  ·  view source on GitHub ↗

Parse a decimal or hexadecimal `Imm64`, formatted as above.

(s: &str)

Source from the content-addressed store, hash-verified

186
187 // Parse a decimal or hexadecimal `Imm64`, formatted as above.
188 fn from_str(s: &str) -> Result<Self, &'static str> {
189 parse_i64(s).map(Self::new)
190 }
191}
192
193/// 64-bit immediate unsigned integer operand.

Callers

nothing calls this directly

Calls 6

parse_i64Function · 0.85
parse_u64Function · 0.85
fromFunction · 0.85
OkFunction · 0.85
newFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected