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

Method is_shared

crates/wasmtime/src/runtime/types.rs:3462–3464  ·  view source on GitHub ↗

Returns whether this is a shared memory or not. Note that shared memories are part of the threads proposal for WebAssembly which is not standardized yet.

(&self)

Source from the content-addressed store, hash-verified

3460 /// Note that shared memories are part of the threads proposal for
3461 /// WebAssembly which is not standardized yet.
3462 pub fn is_shared(&self) -> bool {
3463 self.ty.shared
3464 }
3465
3466 /// Returns minimum number of WebAssembly pages this memory must have.
3467 ///

Callers 5

default_valueMethod · 0.45
_serializeMethod · 0.45
_newMethod · 0.45
newMethod · 0.45
add_to_linkerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected