bevy_reflect::serde

Trait DeserializeValue

Source
pub trait DeserializeValue {
    // Required method
    fn deserialize(
        deserializer: &mut dyn Deserializer<'_>,
        type_registry: &TypeRegistry,
    ) -> Result<Box<dyn Reflect>, Error>;
}

Required Methods§

Source

fn deserialize( deserializer: &mut dyn Deserializer<'_>, type_registry: &TypeRegistry, ) -> Result<Box<dyn Reflect>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§