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 disableddocumentationandset_documentationfunctions will still be present but respectively return empty string and do nothing.
Re-exports§
pub use melodium_common as common;
Modules§
Structs§
- Erased
Serde Error - Error when a
SerializerorDeserializertrait object fails. - Lazy
- A value which is initialized on the first access.
- VecDeque
- A double-ended queue implemented with a growable ring buffer.
Enums§
Traits§
- Data
- Data
Trait - Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Erased
Serialize - An object-safe equivalent of Serde’s
Serializetrait. - Erased
Serializer - An object-safe equivalent of Serde’s
Serializertrait. - 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
Tfrom the given trait object.