[][src]Trait amethyst_assets::SerializableFormat

pub trait SerializableFormat<D: FormatRegisteredData + 'static>: Format<D> + Serialize + 'static { }

SerializableFormat is a marker trait which is required for Format types that are supposed to be serialized. This trait implies both Serialize and Deserialize implementation.

Note: This trait should never be implemented manually. Use the register_format macro to register it correctly. See FormatRegisteredData for the full example.

Trait Implementations

impl<D: FormatRegisteredData> Serialize for dyn SerializableFormat<D>[src]

Implementations on Foreign Types

impl<D: FormatRegisteredData + 'static> SerializableFormat<D> for Box<dyn SerializableFormat<D>>[src]

Loading content...


Loading content...