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

Method explicit_endianness

cranelift/codegen/src/ir/memflags.rs:248–250  ·  view source on GitHub ↗

Return endianness of the memory access, if explicitly specified. If the endianness is not explicitly specified, this will return `None`, which means "native endianness".

(self)

Source from the content-addressed store, hash-verified

246 /// If the endianness is not explicitly specified, this will return `None`,
247 /// which means "native endianness".
248 pub const fn explicit_endianness(self) -> Option<Endianness> {
249 self.flags.explicit_endianness()
250 }
251
252 /// Set endianness of the memory access.
253 pub fn set_endianness(&mut self, endianness: Endianness) {

Callers 2

set_by_nameMethod · 0.45
is_mergeable_loadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected