mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-13 00:51:20 +00:00
doc(runtime-c-api) Improve documentation of wasmer_value
.
This commit is contained in:
@ -23,6 +23,12 @@ pub enum wasmer_value_tag {
|
||||
WASM_F64,
|
||||
}
|
||||
|
||||
/// Represents a WebAssembly value.
|
||||
///
|
||||
/// This is a [Rust union][rust-union], which is equivalent to the C
|
||||
/// union. See `wasmer_value_t` to get a complete example.
|
||||
///
|
||||
/// [rust-union]: https://doc.rust-lang.org/reference/items/unions.html
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Copy)]
|
||||
#[allow(non_snake_case)]
|
||||
|
Reference in New Issue
Block a user