Crate melodium_core

Crate melodium_core 

Source
Expand description

§Mélodium core crate

Core Mélodium components for compiled libraries.

This crate is aimed to be used by compiled Mélodium libraries, in conjuction with melodium-macro.

Core Mélodium types are exposed here, and base descriptors for built-in elements are provided within the descriptor module.

Look at the Mélodium crate or the Mélodium Project for more detailed information.

§Features

  • doc (disabled by default): enables documentation management of elements, when disabled documentation and set_documentation functions will still be present but respectively return empty string and do nothing.

Re-exports§

pub use melodium_common as common;

Modules§

descriptor
executive

Structs§

ErasedSerdeError
Error when a Serializer or Deserializer trait object fails.
Lazy
A value which is initialized on the first access.
VecDeque
A double-ended queue implemented with a growable ring buffer.

Enums§

TransmissionValue
Value

Traits§

Data
DataTrait
Deserialize
A data structure that can be deserialized from any data format supported by Serde.
ErasedSerialize
An object-safe equivalent of Serde’s Serialize trait.
ErasedSerializer
An object-safe equivalent of Serde’s Serializer trait.
GetData
Trait allowing to get real data based on Rust type.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Functions§

erased_deserialize
Deserialize a value of type T from the given trait object.

Type Aliases§

bool
byte
char
f32
f64
i8
i16
i32
i64
i128
string
u8
u16
u32
u64
u128
void

Derive Macros§

Deserialize
Serialize