Crate wings_marshal

Source
Expand description

Defines types to communicate between guests and the host in the wings plugin system.

Modules§

exported_type
Defines structs for unique identification of types.

Structs§

EventHandler
Describes a guest event handler.
FatGuestPointer
Represents a fat, untyped pointer in 32-bit WASM. This is used to store pointers to values and their V-tables.
GuestPointer
Represents a thin, untyped pointer in 32-bit WASM.
InstantiateGroup
Represents a group of systems that a plugin would like to instantiate.
SectionedBufferReader
Reads from a buffer in length-delineated sections.
SectionedBufferWrite
Allows for writing to a section of a buffer.
SectionedBufferWriter
Writes to a buffer in length-delineated sections.
SystemDescriptor
Describes a guest system.
SystemTraitDescriptor
Describes a system trait.

Enums§

DependencyReference
Identifies a dependency.
WingsError
Describes an error that occurred during WASM instantiation or execution.

Statics§

MARSHAL_BUFFER
Holds the serialized data for communication between guest and host.

Traits§

Marshal
Determines how a type will be cloned across the WASM-native barrier.
Proxyable
Represents an object that may be called by proxy.

Functions§

write_to_marshal_buffer
Serializes the given object as a single section in the marshal buffer.