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

Method get_data_objects

cranelift/module/src/module.rs:722–724  ·  view source on GitHub ↗

Get an iterator of all data declarations

(&self)

Source from the content-addressed store, hash-verified

720
721 /// Get an iterator of all data declarations
722 pub fn get_data_objects(&self) -> impl Iterator<Item = (DataId, &DataDeclaration)> {
723 self.data_objects.iter()
724 }
725
726 /// Get the `DataDeclaration` for the data object named by `name`.
727 pub fn get_data_decl(&self, data_id: DataId) -> &DataDeclaration {

Callers 1

finishMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected